Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace not working in grid - VFP 3.0 Win
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00061659
Message ID:
00061683
Vues:
47
>>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?
>
>Evan,
>Have you tried firing the combobox.requery method
>

Thanks Jon. Ed got the answer.

I like your sig, good attitude.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform