Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor Update?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00175778
Message ID:
00176359
Vues:
31
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
Fil
Voir

Click here to load this message in the networking platform