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:
01564473
Vues:
52
>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform