Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pasting values into a field doesn't work.
Message
From
30/06/1999 08:34:24
 
 
To
30/06/1999 03:51:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00235226
Message ID:
00235797
Views:
18
>it's a combo box 0.
>I can type into it and it works.
>
>The interactive change does not actually fire. Neither does the key press and got focus.
>
>On the form I have 8 combo boxes.
>If I tab into each and out of each pasting a value in then press the save button (where it does a tableupdate())
>
>The changes are reverted.
>I usually do a replace when lost focus occurs.
>
>The control source is not set...
>
>I checked all my code and it seems that the chnages are never applied.
>
>The main problem i think is. Even when interactive change fires after pasting I move the cursor. This.value=""

The value propery for comboboxes is onlt populated when the contents match something exactly in the list. When they don't, the contents are only stored in the DisplayValue property. Try doing your REPLACE using the DisplayValue instead of value.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform