Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No update tables are specified
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01078502
Message ID:
01078545
Views:
15
What is value of cSQLStr?

>When I try to do a SELECT * FROM tbl INTO ... when tbl is my remote view to a SQL table, I'm all of a sudden getting the following "No update tables are specified. Use the Tables property of the cursor". I was getting this when I created a remote view using the wizard in MODI DATA and I also got it when i used SQLCONNECT(), SQLEXEC() and several CURSORSETPROP() entries - what am I missing?
>
>Here's the latest code:
>
>
>nRetVal=SQLEXEC(nConn,cSQLStr,'ApS')
>     =CURSORSETPROP("Tables","ApS")
>     =CURSORSETPROP("UpdateNameList", "Supplier aps.Supplier, SupplierName aps.SupplierName Telephone aps.Telephone, "+;
>     "Fax aps.Fax, Contact aps.Contact, FaxContact aps.FaxContact, Email aps.Email")
>     =CURSORSETPROP("KeyFieldList", "Supplier")
>     =CURSORSETPROP("UpdatableFieldList", "Supplier, SupplierName")
>     =CURSORSETPROP("UpdatableFieldList", "Supplier, SupplierName, Telephone, Fax, Contact, FaxContact, Email")
>    =CURSORSETPROP("SendUpdates",.F.,'Aps')
>    =CURSORSETPROP('buffering', 5, 'Aps')
>   SELECT ApS
>
>SELECT * FROM Aps INTO CURSOR curTest  && I get the error executing this line.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform