|
-
Sep 29th, 1999, 06:26 AM
#1
Thread Starter
Hyperactive Member
Im attempting to delete a record in a database that Im connected to using the adodc control. I built the connection string with the wizard and gave myself read/write permissions.
Then useing the code Recordset.Delete or just hitting the delete key with the record highlighted on the data grid gives me the error... "Insuficient Base Table Information For Updating Or Deleting." What other information do I need to supply it? Can anyone help?? Thanks.
-
Sep 30th, 1999, 09:56 PM
#2
New Member
It is hard to answer your question without seeing the SQL you are using to build your recordset, but here are some ideas:
Check your SQL soes not terminate with the semicolon character - ADO does not like this at all.
Are you using DISTINCT?
Are you using the correct RecordsetType - not adopenstatic?
is your recordset based on a view, or a subquery?
One of these should provide you with the answer!
-
Oct 1st, 1999, 11:28 AM
#3
Thread Starter
Hyperactive Member
I would have never thought of removing the ';'. Thanks, that fixed it. Ill have to remember no semicolon on the ado querytext.
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
|