ruphus
May 21st, 1999, 08:56 AM
In a form called selectfile.frm I have selected and stored a dbase IV file name and path to a variable.
cFile$ = file1.path + filename
I can display the variable in a text box to confirm that it does contain the file name and path.
I have another form (Browser.frm) that uses flexgrid and datacontrol. I can view a dbase file
in this form by setting the datacontrol properties to: (example)
connect = dbaseiv
DatabaseName = E:\sfmp\data
RecordSource = fire1970.dbf
How do I pass the information in selectfile.cFile$ to the appropriate properties in my Browser.frm so that
I can view the selected file in the "browser.frm"? The dbase file will need read/write access in the
Browser.frm.
I would be very grateful for any assistance.
ruphus
cFile$ = file1.path + filename
I can display the variable in a text box to confirm that it does contain the file name and path.
I have another form (Browser.frm) that uses flexgrid and datacontrol. I can view a dbase file
in this form by setting the datacontrol properties to: (example)
connect = dbaseiv
DatabaseName = E:\sfmp\data
RecordSource = fire1970.dbf
How do I pass the information in selectfile.cFile$ to the appropriate properties in my Browser.frm so that
I can view the selected file in the "browser.frm"? The dbase file will need read/write access in the
Browser.frm.
I would be very grateful for any assistance.
ruphus