Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    One Main Form to Load Different Sub Forms? (A2k (9.0.3821) SR-1)

    One Main Form to Load Different Sub Forms?

    A2k (9.0.3821) SR-1

    I

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: One Main Form to Load Different Sub Forms? (A2k (9.0.3821) SR-1)

    You only need to deal with the subform control that is on the mainform. If the actual subform you need is being passed in openargs, all you need is something like this in your form's OnOPen event, substituting your control name.

    Me.[yourcontrolName].sourceobject = Me.OpenArgs
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: One Main Form to Load Different Sub Forms? (A2k (9.0.3821) SR-1)

    Thanks Mark I got it.

    John

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •