General information
Category:
Forms & Form designer
Title:
Replace not working in grid - VFP 3.0 Win
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only