Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I don't get tableupdate()
Message
From
11/10/1999 15:34:00
 
 
To
11/10/1999 15:31:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00275114
Message ID:
00275119
Views:
21
>I was browsing through the txtbtns class trying to figure out why my table wasn't getting updated right. I have narrowed it down to dying on the tableupdate(.t., .f.) command (fails to update). But when I looked up the tableupdate() function, I see that the syntax is tableupdate([nRows [, lForce]][, cTableAlias|nWorkArea][, cErrorArray]).
>
>Since this is in a class, I figure it must be written right and I just don't understand it. But I don't understand where the 2 boolean values come from. The only spot I can see in the syntax that would take a boolian is the lForce parameter. So what is tableupdate(.t., .f.) all about?
>
>Any help would be greatly appreciated.
>
>Denise

The first parameter can be a logical for allrows. There is an aerror array that gets populated. Disp those values right after the tableupdate fails.
Previous
Reply
Map
View

Click here to load this message in the networking platform