Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with saving data
Message
 
À
27/11/2000 09:16:57
Errol Saldanha
Muscular Dystrophy Canada
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00445640
Message ID:
00446010
Vues:
13
Errol,
Your second parameter in the Tableupdate() command is .F., which says "Don't update this if the main table has been changed by someone else but still return .T.". I would think that the corrupt table/header made it look as if the record was changed.

HTH
Barbara

>Hello,
>I had the following problem with a form. Data would be entered and the following update procedure would be invoked:
>
> Procedure Update
> begin transaction
> if !Tableupdate(.T.,.F.,"po_hdr")
> wait "Po Header update failed" window
> endif
> ... more tableupdates ...
> end transaction
> flush
>
>
>Instead of saving the data, VFP 6/SP3 was clearing the screen. It turned out the the database was corrupt and the po_hdr index had to be rebuilt. I assume that Foxpro did not consider this to be a failed tableupdate since the wait message did not appear. Am I doing something wrong in my code?.
>
>Thanks
>
>Errol Saldanha
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform