Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate last parameter
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01564432
Message ID:
01564479
Views:
38
Hmm, in help is missing next sentences.

If is row buffering on alias, the array contains -1 always.
If is table buffering on alias, the array contains record numbers of bad records.

MartinaJ

>>Hi Naomi,
>>
>> In help is bug, the last parameter is [, ErrorArray]. The example in the web page is right.
>>
>>MartinaJ
>>
>I was not able to make it work yesterday. Say,
>
>dimension laCommitErrors[1]
>
>if not tableupdate(2, .t., 'myTable', laCommitErrors)
>
>   ** Handle error
>endif
>
>if type('laCommitErrors[1]') <> 'L'
>   ....
>endif
>
>
>
>I was always falling into the second IF and laCommitErrors[1] was -1 and aerror returned some weird errors. I got rid of last parameter and tableupdate always succeded. So, I really don't understand why I was getting false errors or how should I have coded it.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform