What I am trying to do...
3 Forms
MainForm
ReportForm
BuildForm
MainForm
On the MainForm I have a menustrip with open and build. Below the menu strip is a panel. When a user clicks open in menustrip, it opens the ReportForm in the panel.
ReportForm
The ReportForm has a variable called theQuery. For now its default set to test. (Later will be changed based on a text file open.)
BuildForm
The BuildForm contains (for testing) a textbox called texboxQuery.
What I am wanting to happen is a user clicks open. The ReportForm loads all the variables it will store(with more stuff later). I want the user to be able to hit build in the menustrip of the MainForm. Then the BuildForm loads and fills out the textbox: textboxQuery with the data saved on the ReportForm variable theQuery.
So basically the ReportForm is just storing the variables and their data that BuildForm will need. The reason for this, is because I want the ability to open multiply reports. With each report possibly containing a different set of data.
So with how I am doing it.. Is there a way that the BuildForm can actually pull the variable data from the ReportForm? Or is the only way to do it, is create a button on the ReportForm that opens the BuildForm and passes the variables that way?
This post has been edited by fullyunknown: 02 July 2012 - 03:41 PM

New Topic/Question
Reply



MultiQuote





|