This may sound mundane for a lot of people, but I cant figure it out. Depending on the record that is currently selected on a grid, i what to display a curresponding image on an unrelated image control on the form. I do I know what record number. thanks.
Your grid is bound to a table/cursor/view, right? So every time you move to a new row in a grid, you're changing the record pointer in its RecordSource. With lnRecNo = RECNO()
in the AfterRowColChange() event method I think you'll get what you want.
Duh!
That is what happens when you program in multiple lanquages at the same time. I was already looking for a grid.selected property or some funky stuff like that when the answer was staring me in the face. vfp rocks. thanks for setting me straight.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.