mbibmdi
asked on
Change data environment on fly on Form
Hi Experts,
This is the first form (.scx)I have created myself to manipulate data, so sorry for my ignorance. I used the wizard to create the form. And it asked for the underlying data so every time I load the form now the data environment shows the table. I want to change the data environment depending on the information in another variable. I know I can delete the file from the data environment and then change the field names to not reference the file. The question is how to load the proper data environment into the form. I have a company variable that changes when the user goes to that company information. So I want to load the relevant data environment (lets call them company1 and company2) for the specific company variable. I should add that I am using VFP 6.0. Thanks for your help.
This is the first form (.scx)I have created myself to manipulate data, so sorry for my ignorance. I used the wizard to create the form. And it asked for the underlying data so every time I load the form now the data environment shows the table. I want to change the data environment depending on the information in another variable. I know I can delete the file from the data environment and then change the field names to not reference the file. The question is how to load the proper data environment into the form. I have a company variable that changes when the user goes to that company information. So I want to load the relevant data environment (lets call them company1 and company2) for the specific company variable. I should add that I am using VFP 6.0. Thanks for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER