Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rowsource not visible
Message
From
14/10/1997 19:14:59
Glenn Shimabukuro
State of HI, Dept of Health, Dd Division
Pearl City, Hawaii, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00052473
Message ID:
00054559
Views:
34
>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
Map
View

Click here to load this message in the networking platform