Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETFLDSTATE
Message
 
À
05/11/1999 21:57:36
David Turnedge
Turnedge Associates
Sydney, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00287865
Message ID:
00287949
Vues:
22
>Thanks for the help, Jim.
>
>I'm checking GETFLDSTATE after the field of the newly appended record has been edited... a command button on the form checks GETFLDSTATE.
>
>I guess the problem is that I haven't really lost focus yet, but my code seems to work for edited fields of existing records, it's just not working for edited fields of newly appended records!
>
>David Turnedge

David,

If the command button is in the form then the problem I described does not apply to you. The problem I described only applies if the command button is in a toolbar.

I just created a simple form with one textbox on it. Put a table in the DE and set the table to Optimistic Row buffering. I appended a new record in teh fomr's Init. I then ran the form adn typed into the textbox and clicked a commadn button that did a wait window GetFldState(-1). The string had a 4 for the field I had edited.

If yours is still mot working there is something else going on. Try creating a new fomr and move stuff into it gradually until the getfldstate() fails for you. The last thing you added in is the most probable culprit.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform