Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with tableupdate & remote views
Message
From
28/01/2002 20:34:03
 
 
To
28/01/2002 18:26:27
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00611955
Message ID:
00611982
Views:
17
Peter,

Not a solution, but maybe something else to look at:
> 	llResult=TABLEUPDATE(2,.T.,"MyView",Errors)
>
>        * Check if the update returns .T. and handle any records
>        * that did not make it through...


By specifying a 2, "an error doesn't occur when a change cannot be committed, and Visual FoxPro continues to process any remaining records in the table or cursor." (straight from the VFP help) ... but your Errors array should contain your error messages. Since you're checking for llResult to be .F. before messing with errors, I assume maybe you're just not catching what the errors are that are causing the problems.

HTH,
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform