Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace not working in grid - VFP 3.0 Win
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Replace not working in grid - VFP 3.0 Win
Miscellaneous
Thread ID:
00061659
Message ID:
00061659
Views:
91
I have a combo box in a grid. The grid displays a parameterized view.

The combobox works fine, except when "*OTHER" is choosen by a user. In the valid method of the combobox, I run a modal form which then lets the user type a value into a text box. The value is returned correctly, but when I do a "replace" to put the value into the field in the view, it doesn't change the value. The value of the field stays as "*OTHER".

It is almost as if the REPLACE command isn't excuted.

Note:
- if I remove the call to the other form, the replace works (I used a constant to test this)
- the value returned from the form is good
- the line after the call to the form is executed (I tested this by putting a print statement after the DO FORM line)
- the debugger shows that the field always keeps the value "*OTHER"

Any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform