Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffered Data Committed too Soon
Message
De
26/01/1999 08:36:17
Daniel Christensen
University of Wisconsin River Falls
River Falls, Wisconsin, États-Unis
 
 
À
25/01/1999 17:17:13
Daniel Christensen
University of Wisconsin River Falls
River Falls, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00180029
Message ID:
00180208
Vues:
21
Thanks to all for the helpful suggestions. I was able to resolve the problem but the answer was just as strange as the question... The code for my cmdSave.click() method originally looked something like this:

lcChanges = thisform.reportchanges()
select contracts
if tableupdate()
insert into audit values(...,...,lcChanges)

With things set up this way, the oldval()'s in 'thisform.reportchanges()' were already updated to the new values and therefore didn't think that anything had changed. All I did was move the select statement up one line and the problem went away...

select contracts
lcChanges = thisform.reportchanges()
if tableupdate()
insert into audit values(...,...,lcChanges)

Now I'm not quite sure why this would make a difference but, for whatever reason, it worked.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform