If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > Query cannot be updated because the FROM clause is not a single simple table name

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-15-10, 01:22
ymho ymho is offline
Registered User
 
Join Date: Jul 2006
Posts: 109
Query cannot be updated because the FROM clause is not a single simple table name

I have a # temp table and want to insert the record thru vb ado control but fail. pls advise how to use recordset.update to update against # temp table.

e.g
Dim ars As New ADODB.Recordset

ars.CursorLocation = adUseServer
ars.Open "#email", <connenction>, adOpenKeyset, adLockOptimistic, adCmdTable

ars.AddNew
...
ars.update
==> the following error msg return
"Query cannot be updated because the FROM clause is not a single simple table name."
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On