|
-
Mar 14th, 2000, 05:07 AM
#1
Thread Starter
Addicted Member
Hello, from reading some posts earlier I came up with this code to use sql to retrieve records. Please tell me what I am doing wrong.
rs.open "Select * From Table1 Where Number = '%" & MyVar1 & "%", ConnectString, adOpenStatic, adLockOptimistic
The MyVar1 is a is a numeric value since the Number field is a numeric value. It does not work however, can someone please help.
Thanks,
Thai
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
|