|
-
Apr 22nd, 2001, 06:12 PM
#1
Thread Starter
Member
ok i want to do the following
Select * From video where play = 2 and playing = 3 order by number
how would i make this work exactly
-
Apr 22nd, 2001, 06:15 PM
#2
Monday Morning Lunatic
First, you need to connect to the database. I assume this is in Access? (what version as well, please)
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 22nd, 2001, 06:18 PM
#3
Thread Starter
Member
well i got all the coding for that i just need the SQL statement i dont remember how to write a sql statement where u want more then 1 variable like where i want to play = 2 and playing = 1
-
Apr 22nd, 2001, 06:23 PM
#4
Monday Morning Lunatic
Oh right Hehehe silly me  
That statement looks absolutely fine
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 22nd, 2001, 09:25 PM
#5
Frenzied Member
Code:
set recordset = database.openrecordset("Select * from Video Where play = 2 And Playing = 3 Order by Number;")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|