Results 1 to 5 of 5
  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

    Which Form opened Another Form? (A2k (9.0.4402) SR-1)

    Which Form opened Another Form?

    A2k (9.0.4402) SR-1

    I have two Forms called FormA and FormB

    Each Form has a Button that opens FormC

    FormC has the following Controls:

    Last Account Number for FormA
    Last Account Number for FormB
    Close

    When I open FormC, how can I tell which Form, A or B opened FormC?

    If FormA opens FormC, I want to set

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Which Form opened Another Form? (A2k (9.0.4402) SR-1)

    In the DoCmd OpenForm, use the openargs. Set it different for Form A and Form B. When Form C is open, test on Me.openargs
    Francois

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Which Form opened Another Form? (A2k (9.0.4402) SR-1)

    Roger

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

    Re: Which Form opened Another Form? (A2k (9.0.4402) SR-1)

    Hi Rupert

    Thanks for your help on this one.

    The reference to Roger's wax excellent.

    Do you have others?

    John Graves

  5. #5
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Access Links

    These are sites I
    Attached Files Attached Files

Posting Permissions

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