FoxInCloud
grid question
Gravatar is a globally recognized avatar based on your email address. grid question
  Tuvia Vinitsky
  All
  May 28, 2015 @ 08:24am
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?


Gravatar is a globally recognized avatar based on your email address. Re: grid question
  FoxInCloud Support - Thierry N.
  Tuvia Vinitsky
  May 28, 2015 @ 10:04pm
you can do just like mentioned in the VFP9 help:
.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)

© 1996-2024