Im VFP when I have a grid with a cursor recordsource and I want to regen the cursor, I do something like:
.recordsource = ''select ........ && regen the cursor
.recordsource = 'myCursor'
.column1.controlsource = 'myCursor.foo1'
.column2.controlsource = 'myCursor.foo2'
etc
I seem to recall a recent grid enhancement that can make that easier, maybe wldynamiccontent? Or am I mis-remembering?
.recordSource = ''
Select ... into cursor XX
.recordSource = 'XX'
If the cursor structure is unchanged, you don't need to re-assign column.controlSource
I cannot seem to locate my notes on this, so forgive me asking this again.
Im VFP when I have a grid with a cursor recordsource and I want to regen the cursor, I do something like:
.recordsource = ''select ........ && regen the cursor
.recordsource = 'myCursor'
.column1.controlsource = 'myCursor.foo1'
.column2.controlsource = 'myCursor.foo2'
etc
I seem to recall a recent grid enhancement that can make that easier, maybe wldynamiccontent? Or am I mis-remembering?
-- thn (FoxInCloud)