Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdates with SQL pass-through troubles...
Message
From
04/12/1998 13:01:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Tableupdates with SQL pass-through troubles...
Miscellaneous
Thread ID:
00164152
Message ID:
00164152
Views:
54
Hello,
I am attempting to update a remote table using sqlpassthru.

Here is the error I get:
"No update tables are specified. Use the Tables property of the cursor."

Here is my code that I run from the command window:

x = sqlcon("smccmpinv")
y = sqlexec(x,"select * from history","ahistory")
=CursorSetProp("Tables","history","ahistory")
=CursorSetProp("KeyFieldList","tic_id","ahistory")
=CursorSetProp("UpdatableFieldList","cred_yes","ahistory")
=CursorSetProp("SendUpdates",.T.,"ahistory")
replace cred_yes with .T.
=Tableupdate()

All of the cursorsetprops succeed and the connection and exec also work.
The tableupdate() fails. If I attempt to move the record pointer, I get the above error. There is no table or field rule set on cred_yes.

Any help is greatly appreciated.
Thanks
Dave Mihalik
dmihalik@stansleygroup.com
Next
Reply
Map
View

Click here to load this message in the networking platform