Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RecordSource for Grid
Message
De
15/12/1998 15:53:42
 
 
À
15/12/1998 15:18:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00167835
Message ID:
00167855
Vues:
23
Putting the "=" sign, as in your first example, tells VFP to treat the setting as an expression. So if "tablename" is a character variable, VFP will initialize the RecordSource to whatever value "tablename" holds. In your second example, VFP will look for a valid alias or whatever with a name of "tablename".
Since you indicate the first example works fine the first time, but not after you close and reopen the form, look to see whether the alias specified by "tablename" is still open. Also, check the value for "tablename", it may have changed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform