• PopUp form (Access 2000)

    Author
    Topic
    #420349

    I want to coordinate PopUp form and main form
    From my main form i open my popup form as follows:

    DoCmd.OpenForm FormName:=”frmCallsstudents”, WhereCondition:=”[student] = ” & Me!Studentid
    My main form is a tabular form beginning with the StudentID.
    I want to open the popup form not by clicking a separate control, but by clicking the field studentid
    Then,if i click another studentid, to open the popup form for this student.
    How can i do it ?

    Viewing 0 reply threads
    Author
    Replies
    • #951563

      You can put your line of code in the On Click event of the text box bound to the StudentID field.

      • #951593

        Thanks for the reply.I have problems with closing the popup form.When i click a certain client, the form opens but i do not know how to close
        it in order to click for another client.IOf ourse i could place a control on the popup for for closing it,but i wonder is there any better way
        for doing that ? I am looking for a quicker way of passing through the clients and seeing the information.
        regards

        • #951600

          Yoou could put your line of code in the On Current event of the main form. As the user moves from record to record in the main form, the popup form will be reopened at the correct record.

    Viewing 0 reply threads
    Reply To: PopUp form (Access 2000)

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

    Your information: