|
-
Oct 7th, 1999, 07:17 PM
#1
Thread Starter
Addicted Member
I have set up a "DELETE * from xyz WHERE etc." but am not sure how to execute this in VB6 - I have tried database.execute and Refresh but niether of them seem to work
Any ideas? I haven't used a delete type sql before and I'm getting something wrong. The format of the Sql is OK as it works in Access. Thanks
-
Oct 7th, 1999, 08:36 PM
#2
Member
I don't know if this is part of the trouble but FROM needs to be all in caps. Can you post part of your code that deals with this to give me a better idea?
Lloyd
-
Oct 7th, 1999, 09:19 PM
#3
Frenzied Member
"From" doesn't need to be in caps and, in fact, is an optional word.
Try removing the "*", it's not used in a delete.
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
|