Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Examine Changes
Message
De
19/08/2009 12:34:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01418972
Message ID:
01419018
Vues:
46
>My purpose of running such code is exactly to find why GetFldState reports a change when there was no visible change (I only opened a form and then pressed close at the upper right corner).

Then check at what position of GetFldState(-1) there is a "change", and check that specific field. If it is at the 4th. position, check the old and the new value of the 3rd. field (remember, the first byte of GetFldState(-1) indicates the deleted status).

This will only tell you whether there really was a change or not, not WHY there supposedly is a change. For the latter, you may want to put a breakpoint, when condition is true: "2" $ GetFldState(-1).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform