General information
Category:
Forms & Form designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only