Results 1 to 3 of 3

Thread: This might be really easy, but I can't get it...

  1. #1

    Thread Starter
    Lively Member fujiyama17's Avatar
    Join Date
    Aug 2000
    Location
    Columbus, OH
    Posts
    91

    Unhappy

    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

  2. #2

    Thread Starter
    Lively Member fujiyama17's Avatar
    Join Date
    Aug 2000
    Location
    Columbus, OH
    Posts
    91
    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?

  3. #3
    New Member The Riddler's Avatar
    Join Date
    Aug 2000
    Location
    Gotham City
    Posts
    13
    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
  •  



Click Here to Expand Forum to Full Width