Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo value has changed
Message
From
19/10/2005 16:25:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01060472
Message ID:
01060499
Views:
10
>My values in the combo/array are "01", "02", "03", etc. They are all two character text fields. The OLDVAL returne a numeric 1, 2, 3. Why does it do that? Is it returning the value or the position in the array?
>
>Brenda
>
>>>Is there any easy way to know that the value of the combo has changed? In the VALID this.controlsource = this.value = this.displayvalue. What other property or method can I use to know it has changed value?
>>>
>>>Brenda
>>
>>Also if you use some table buffering you can use and the Combi is bound to a Field:
>>
>>IF this.Value = OLDVAL(JUSTEXT(this.ControlSource), JUSTSTEM(this.ControlSource))
>>   ...
>>ENDIF
>>
OLDVAL? what you are using as a ControlsSource?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform