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

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Which Form opened Another Form? (A2k (9.0.4402) SR-1)

    Author
    Topic
    #364174

    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

    Viewing 1 reply thread
    Author
    Replies
    • #558231

      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

    • #558408

      Roger

      • #561289

        Hi Rupert

        Thanks for your help on this one.

        The reference to Roger’s wax excellent.

        Do you have others?

        John Graves

    Viewing 1 reply thread
    Reply To: Which Form opened Another Form? (A2k (9.0.4402) SR-1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: