Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
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