A few things.
1) Try executing the SQL string from the ACCESS Query generator. See if it works
2) What is the data type for field LOCKED? Did you try setting it to TRUE or -1
3) You don't need to Define a query, Just execute it directly,
Set dbs = CurrentDb
dbs.execute SQLString (in quotes)
set dbs = nothing
From: AccessDevelopers@yahoogroups.com [mailto:AccessDevelopers@yahoogroups.com] On Behalf Of visualbprogrammers@yahoo.com
Sent: Thursday, April 18, 2013 9:41 AM
To: accessdevelopers@yahoogroups.com
Subject: [AccessDevelopers] Error: 3125: is not a valid name. Make sure that it does not include....
|
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (10) |
Please zip all files prior to uploading to Files section.
Tidak ada komentar:
Posting Komentar