|
-
Jul 11th, 2006, 01:54 AM
#1
Thread Starter
Junior Member
[RESOLVED] sql problem
i am trying to get some records from my database(ms access) using an sql command.
what is wrong with this?
adoPrimaryRS.Open "select field3 from 345_POLICY where field3 = " & usermotor & "", db, adOpenStatic, adLockOptimistic
when i run the program i get the error
syntax error(missing operator) in query expression 'field3 = 333'.
please help
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
|