• add value from one form to another (Access 2k)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » add value from one form to another (Access 2k)

    Author
    Topic
    #362818

    Is there a way to have the value from an object in one form (Form A) automatically get updated to an object in a subform in another form (FormB) when I close Form A ?

    Thanks in advance

    Viewing 0 reply threads
    Author
    Replies
    • #551923

      Hi Dave

      I would use the Close event of form a and then pass a reference from the control on form A to the control on form b … ie.

      Private Sub Form_Close()
      forms!formBname.formBcontrolname = _
      me!formAcontrolname
      End Sub

      Make sure you replace the italics with the appropriate form or control names.

    Viewing 0 reply threads
    Reply To: add value from one form to another (Access 2k)

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

    Your information: