Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to retrieve combovalue for variable......?
Message
From
01/08/2000 06:01:27
 
 
To
01/08/2000 03:55:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00398680
Message ID:
00399161
Views:
43
Hi Jimmy.

>> This is what I am asking. If the combo displays the data for that column, shouldn't I be able to get the value that exists in the combo the second the row becomes active but before the value changes? <<

Memory variable are scoped to the current method. If you have variables that you want accessible to other objects, you need to make them form properties. If you want them visible to different methods in the same object, you need them to be properties of the object.

Try this in the grid's AfterRowColChange:

WAIT WINDOW MyTable.MyField

MyTable is the alias used as the grid's record Source and MyField is the name of the field displayed in Column1 of the grid.

Or try this in the combo's GotFocus:

WAIT WINDOW This.Value

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform