Information générale
Catégorie:
Codage, syntaxe et commandes
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement