Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement