Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableUpdate last parameter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01564432
Message ID:
01564479
Vues:
37
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform