Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Update?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00175778
Message ID:
00176359
Views:
30
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
Map
View

Click here to load this message in the networking platform