Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control.value OR cursor.field
Message
From
02/04/2003 00:32:23
 
 
To
02/04/2003 00:18:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00772817
Message ID:
00772823
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform