Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,358 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,175 people online right now. Registration is fast and FREE... Join Now!




please help me....

 
Reply to this topicStart new topic

please help me....

yr4icka_85
post 29 Sep, 2008 - 08:44 PM
Post #1


New D.I.C Head

*
Joined: 26 Mar, 2008
Posts: 14

Attached ImageAttached ImageAttached Image
CODE


Private Sub Command1_Click()
Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "Select * from Authors WHERE Author ORDER by 'g*[e-o]'"
Adodc1.Refresh
End Sub

Private Sub Command2_Click()
Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "Select * from Authors order by Author  ASC"
Adodc1.Refresh
End Sub

Private Sub Command3_Click()
Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "Select * from Authors order by 'T'"
Adodc1.Refresh
End Sub





this is my code in vb...my teacher told me to sort the authors. First in ascending order second in the authors should start from T and last all the the authors will start from G followed by and o. With that code.. Only the ascending appears correctly.. Can you help me? please i really need your help..Thankz. Ill attach the photo of my work... I am a beginner.Please help me. See the photo of my work. My codes for authors that starts with G and With T isnt working... Please help... I owe you a lot thank you so much!!
User is offlineProfile CardPM

Go to the top of the page

DilutedImage
post 29 Sep, 2008 - 11:42 PM
Post #2


D.I.C Addict

Group Icon
Joined: 20 Nov, 2006
Posts: 642



Thanked 6 times

Dream Kudos: 25
My Contributions


Sorry, but I won't do your homework for you. I'll throw you a bone though. .. First, learn the correct way to use ORDER BY. Second, learn about the LIKE statement. W3Schools and Tizag are good places to start. Don't just jump to those sections though – read from the beginning. They're quick and easy, and will give you a good foundation in SQL statements.

User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 29 Sep, 2008 - 11:46 PM
Post #3


My fridge be runnin OH NOEZ!

Group Icon
Joined: 10 May, 2007
Posts: 6,328



Thanked 57 times

Dream Kudos: 2375

Expert In: Goofing Off

My Contributions


I have a bookmark for W3schools just for their SQL syntax. icon_up.gif
User is offlineProfile CardPM

Go to the top of the page

yr4icka_85
post 30 Sep, 2008 - 12:51 AM
Post #4


New D.I.C Head

*
Joined: 26 Mar, 2008
Posts: 14

QUOTE(no2pencil @ 30 Sep, 2008 - 12:46 AM) *

I have a bookmark for W3schools just for their SQL syntax. icon_up.gif




can you help me in the code for sorting it with g then followed by e then o?any clue for the clause that will be used..thnx!
User is offlineProfile CardPM

Go to the top of the page

yr4icka_85
post 30 Sep, 2008 - 01:05 AM
Post #5


New D.I.C Head

*
Joined: 26 Mar, 2008
Posts: 14

QUOTE(no2pencil @ 30 Sep, 2008 - 12:46 AM) *

I have a bookmark for W3schools just for their SQL syntax. icon_up.gif




can you help me in the code for sorting it with g then followed by e then o?any clue for the clause that will be used..thnx!
User is offlineProfile CardPM

Go to the top of the page

dlkirk03
post 30 Sep, 2008 - 05:51 AM
Post #6


New D.I.C Head

*
Joined: 12 Sep, 2008
Posts: 23


My Contributions


http://www.w3schools.com/sql/default.asp
User is offlineProfile CardPM

Go to the top of the page

DilutedImage
post 30 Sep, 2008 - 09:16 AM
Post #7


D.I.C Addict

Group Icon
Joined: 20 Nov, 2006
Posts: 642



Thanked 6 times

Dream Kudos: 25
My Contributions


QUOTE(yr4icka_85 @ 30 Sep, 2008 - 02:05 AM) *
can you help me in the code for sorting it with g then followed by e then o?any clue for the clause that will be used..thnx!

Your question has been answered. Have you not read anything provided? Stop being lazy. Go read.

biggrin.gif
User is offlineProfile CardPM

Go to the top of the page

yr4icka_85
post 1 Oct, 2008 - 07:20 PM
Post #8


New D.I.C Head

*
Joined: 26 Mar, 2008
Posts: 14

QUOTE(DilutedImage @ 30 Sep, 2008 - 10:16 AM) *

QUOTE(yr4icka_85 @ 30 Sep, 2008 - 02:05 AM) *
can you help me in the code for sorting it with g then followed by e then o?any clue for the clause that will be used..thnx!

Your question has been answered. Have you not read anything provided? Stop being lazy. Go read.

biggrin.gif




ok!you dont need to be like that...im sorry...
User is offlineProfile CardPM

Go to the top of the page

yr4icka_85
post 1 Oct, 2008 - 08:53 PM
Post #9


New D.I.C Head

*
Joined: 26 Mar, 2008
Posts: 14

QUOTE(yr4icka_85 @ 1 Oct, 2008 - 08:20 PM) *

QUOTE(DilutedImage @ 30 Sep, 2008 - 10:16 AM) *

QUOTE(yr4icka_85 @ 30 Sep, 2008 - 02:05 AM) *
can you help me in the code for sorting it with g then followed by e then o?any clue for the clause that will be used..thnx!

Your question has been answered. Have you not read anything provided? Stop being lazy. Go read.

biggrin.gif




ok!you dont need to be like that...im sorry...



hey!!i got it...harhar...thnx a lot...where can i find basic game tutorial in vb 6.0...tnx
User is offlineProfile CardPM

Go to the top of the page

DilutedImage
post 7 Oct, 2008 - 12:05 AM
Post #10


D.I.C Addict

Group Icon
Joined: 20 Nov, 2006
Posts: 642



Thanked 6 times

Dream Kudos: 25
My Contributions


It got you to read. biggrin.gif

Now as for "basic game", that's an oxymoron.
User is offlineProfile CardPM

Go to the top of the page

jjsaw5
post 7 Oct, 2008 - 04:21 AM
Post #11


I vill break you

Group Icon
Joined: 4 Jan, 2008
Posts: 1,364



Thanked 6 times

Dream Kudos: 125

Expert In: HTML, CSS, Database,

My Contributions


QUOTE(yr4icka_85 @ 1 Oct, 2008 - 11:53 PM) *

QUOTE(yr4icka_85 @ 1 Oct, 2008 - 08:20 PM) *

QUOTE(DilutedImage @ 30 Sep, 2008 - 10:16 AM) *

QUOTE(yr4icka_85 @ 30 Sep, 2008 - 02:05 AM) *
can you help me in the code for sorting it with g then followed by e then o?any clue for the clause that will be used..thnx!

Your question has been answered. Have you not read anything provided? Stop being lazy. Go read.

biggrin.gif




ok!you dont need to be like that...im sorry...



hey!!i got it...harhar...thnx a lot...where can i find basic game tutorial in vb 6.0...tnx



On the internet! Go to google and search for "VB 6.0 game tutorials" not that hard.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 04:19AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month