Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control.value OR cursor.field
Message
De
02/04/2003 00:32:23
 
 
À
02/04/2003 00:18:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00772817
Message ID:
00772823
Vues:
9
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody.
>On my form, all the controls are having ControlSource from a single cursor. At any point of time, this cursor is having only one record. Now, for accessing/checking the user input, which for the following method is advisable and why?
>1. control.value
>2. cursor.field
>In the valid event of any control, both the methods show the same value.

If the ControlSource is bound to a field then you can easily just refer to the field value and that should work. Note that this is returning the field value no matter if commited or not, if buffering applies.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform