|
-
Aug 23rd, 2000, 09:50 AM
#1
Thread Starter
Lively Member
This might be an easy fix, but geeze, I can't figure it out!
I open up a form from my main form with a commandclick button, check some boxes, and then close the window. The boxes that I click in the subform create a string of text that needs to be xfered to my main form. Well, doing a form.Hide doesn't xfer the data, but doing a frmMain.Show does, BUT in doing a frmMain.Show I then get two frmMain forms. One form has the transferd data, and the other form does not. How do I fix this problem?
Thanks for any help that you can give me on this...
~Brian
-
Aug 23rd, 2000, 09:57 AM
#2
Thread Starter
Lively Member
I don't think I clarified what I am trying to accomplish very well.
When I close down my subform, I just want any data to transfer to my main form, and then close the subform. When I tell the main form to show, the data transfers to the main from from the subform like I want, but I get two main forms. When I tell the subform to hide, the data doesn't transfer. How do i transfer the information, and not get to main forms showing?
-
Aug 23rd, 2000, 09:58 AM
#3
New Member
Hi,
Add a module to your project and declare some Public variables in there. Then use can reference these variables from either form. ie: Put data in from form2 and read data with form1
Hope this helps
I've seen your mind, Freak
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|