For example, I have a form (form1) and a second form (form2), both of them can be called from the menu as seperate form that perform different functions. Both forms open and close tables, setting variables independently but do have some identical tables, alias and variable names.
Now, I have the need to call "form2" from "form1". The "form1" is the customer information in nature and "form2" is the transactions in nature. But they can be tie together by the customer ID. Instead of spending tons of hours to modify the existing forms. I have add a botton in the "form1" to call "form2" (DO form2 WITH cUSTid). Since these forms are using some identical tables and is very difficult to manage what is open and close, I try to use the "Provate Data Session" in both forms but run into issues.
One of the first problem is when I run "form1" from the menu, it shows all the FoxPro environment information on the form and mass up the entire form. Can someone give me advice of how to solve my problem and what is the appropriate way to address my needs?
Thanks in advance.
Now, I have the need to call "form2" from "form1". The "form1" is the customer information in nature and "form2" is the transactions in nature. But they can be tie together by the customer ID. Instead of spending tons of hours to modify the existing forms. I have add a botton in the "form1" to call "form2" (DO form2 WITH cUSTid). Since these forms are using some identical tables and is very difficult to manage what is open and close, I try to use the "Provate Data Session" in both forms but run into issues.
One of the first problem is when I run "form1" from the menu, it shows all the FoxPro environment information on the form and mass up the entire form. Can someone give me advice of how to solve my problem and what is the appropriate way to address my needs?
Thanks in advance.