Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rowsource not visible
Message
De
14/10/1997 19:14:59
Glenn Shimabukuro
State of HI, Dept of Health, Dd Division
Pearl City, Hawaii, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00052473
Message ID:
00054559
Vues:
39
>A form I have has 'somefile.dbf' in its data env. but under the properties section there is no mention of a rowsource etc.
>I want this form to accomadate files of different names but same structures.


Hi Tim,

I had the same problem using a grid. I got around that by using a memory variable field name in the record source property with the same name of an empty data table (e.g. I used 'stest' for stest.dbf) with the required structure. The record source type was "Aias".

I used a program to initially populate my grid with data from one data table. I used 'stest' as a public variable and assigned it that table's name. Then used it as a macro: stest='table1' ; use &stest.

I then used option buttons to change the data content of my grid using the macro-substitution method.


HTH,

Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform