Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid method in a grid textboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00489616
Message ID:
00490040
Vues:
11
>Nadya,
>
>The Tag property will ONLY work for character data, it has a restricted data type. You would be better to follow Eric's suggestion of using GetFldState() to determine if the data has changed.

Jim,

Actually, I currently use if this.value<>oldval(fieldname), this is almost the same. That I want to do, I want to avoid firing even this check. Perhaps, instead of Valid I have to use InteractiveChange event. In this case, it would not fire each time, I navigate between columns. This seems like an easy and good solution for me, what do you think?

My intention is, in case I allow to modify the field (which I allow under certain conditions only) check, if user changes something, and if he/she does, update few other fields, like ModiType with "C", for example.

May be it's better to do in the Trigger, instead of using Valid method?

Can I add triggers on the fly?
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform