Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot upate remote SQL data
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Cannot upate remote SQL data
Miscellaneous
Thread ID:
00653776
Message ID:
00653776
Views:
62
Hello,

I am trying to append records from a local cursor into an updateable remote SQL view. This not only doesn't work, but gives me no error indicating failure. What am I doing wrong? Code is below:


lcAlias = This.OpenView('rv_Errorlog', DB_FULFILL)
loSelect = CREATEOBJECT('cSelect', lcAlias)
SELECT(lcAlias)

APPEND FROM DBF('ERRORS') &&local cursor

llsaved = TABLEUPDATE(.T., .T.)


TableUpdate always returns .T., even though no update occurred. If I put a SET STEP ON before this code and step into the APPEND statement, it goes through some error routines, but never displays an error.

TIA,

-Justin
Next
Reply
Map
View

Click here to load this message in the networking platform