Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working With GetFldState
Message
De
11/09/2000 18:33:39
 
 
À
11/09/2000 16:10:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00415094
Message ID:
00415178
Vues:
21
>Tried the two syntax lines below to achieve my desired results. It works when I step thru with the Debugger, but not when I run it live.
>
>The control is a drop-down combo box, that gets its values from an array. The control is bound to the "MerchType" field in the "Merchant" table, and the code is in the InteractiveChange event.
>
>Anyone know why this code isn't firing?
>
>=============
>IF GETFLDSTATE("MerchType","Merchant") = 2
>
>IF OLDVAL(MerchType,"Merchant") <> ComboBox.Value
>=============
>
>DP

The value is not changed until the end of the InteractiveChange - put a DODEFAULT at the top of the event, before any of your code, then the value should be set.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform