thornmastr
Programmer
Hello,
I am using Visual Basic 6.0 SP6 with Windows XP SP2.
I have two MDI child forms; call them frmA and frmB. FrmA calls frmB. On frmA is an an MSHflexgrid which has information needed on frmB. Of course, referencing information on frmA from frmB immediately creates a
brand new frmA so that if the information I want is on frmA row 2, I obviously get the information on row 1 of the brand new frmA.
One obvious solution is to keep the required information in a global module however I do not want to have global variables when I don't need them and I really don't think this is a necessary or a correct solution.
All I want to do is to get the information from the frmA that called frmB. I certainly do not want the new frmA.
I am sure there are more viable solutions than global variables. Any
suggestions, hints, and further information is certainly appreciated.
Thank you,
Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@earthlink.net
I am using Visual Basic 6.0 SP6 with Windows XP SP2.
I have two MDI child forms; call them frmA and frmB. FrmA calls frmB. On frmA is an an MSHflexgrid which has information needed on frmB. Of course, referencing information on frmA from frmB immediately creates a
brand new frmA so that if the information I want is on frmA row 2, I obviously get the information on row 1 of the brand new frmA.
One obvious solution is to keep the required information in a global module however I do not want to have global variables when I don't need them and I really don't think this is a necessary or a correct solution.
All I want to do is to get the information from the frmA that called frmB. I certainly do not want the new frmA.
I am sure there are more viable solutions than global variables. Any
suggestions, hints, and further information is certainly appreciated.
Thank you,
Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@earthlink.net