>This is most perplexing: I am attempting to poll the value of a hidden cell within a grid. However, when I check the value and display on the screen, it always shows the first row's value.
>
>So I tested by making the column visible again. When the column is visible and I'm clicking directly upon it, the output is rock solid. upon moving to another column, the output is correct as long as the value in that cell is different than the previous cell. If I scroll the column off the screen and move rows, I get no change in the value.
>
>Here's what I'm using:
>in the AfterRowColChange event of the grid, I issue:
>thisform.edit1.refresh()
>
>
>within the edit1.refresh method, I have:
>private l_rec
>store thisform.grid1.column6.text1.value to l_rec
>go (l_rec) in vfpinput
>wait window nowa 'record ' + allt(str(recno('vfpinput')))
>
>
>The wait window is what I'm using as test output.
>
>
>This is frustrating and I'm sure it's something very simple. TIA for your help!!!!!
Why not using the table.field in the controlsource of the textbox?
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca