General information
Category:
Coding, syntax & commands
David,
Every now and then VFP makes me feel like this is my first day on the job.
I am using your suggestion to load a grid with an updatable cursor which is a snapshot of a much larger table.
Form Init:
grid.recordsourcetype = alias
this.datasession = default
this.grid.recordsource = ''
select dink from bills into cursor tab
select 0
use dbf('tab') again alias gridtab
this.grid.recordsource = 'gridtab'
Now I'm happy because the grid is loaded with the data I want and I can Change it.:)
Oh no. I changed the form's datasession to private. Now, with the same code, gridtab becomes an alias of bills, not tab! Now I'm sad. :( I don't know why this happened.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only