Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid1.column1.text1.value not being evaluated in grid
This is very strange and I'm sure I'm missing something simple here, but I'm new to VFP. I have a grid for user maintenance with an add/edit/save buttons below it. Records are displayed fine, add works fine, save works fine. But delete is another story--in the debug window I get the following while the code processes for the delete button click event: "Delete user " thisform.grid1.column1.text1.value show just fine as "Delete user ADMN ?", when I move the cursor to another record in the grid, text1.value says "expression cannot be evaluated" in the debug window, the only way to get text1.value to be proper value (field of userid) is to click directly in the column on the row I want to move to. Clicking on every field in the new row does nothing to change the value, then when I click the delete button again text1.value becomes the value of the last row I was at where I clicked directly into the column for userid. I've tried refreshing during before and after row changes, in the refresh event, resetting the focus, etc.
I'm stumped on this one.
Any help would be greatly appreciated !!!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement