Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2002
    Posts
    75

    Unanswered: Calling subform’s event from the parent form

    Hi,

    Say, I have a button named cmdSave on the subform and cmdUpdate on the parent form.
    How can I call for the subform’s cmdSave_click event within the parent form's cmdUpdate_Click event? What’s the right syntax?

    Thank you.

  2. #2
    Join Date
    Jul 2002
    Location
    Australia
    Posts
    147
    Find attached a document I find handy when refering to subforms.

    As for actually 'calling a button', I'd simply copy the code associated with that button and place it in the cmdUpdate event of the parent form (with the necessary syntax changes ofcourse).

    Cheers,
    Andrew
    Attached Files Attached Files
    There have been many posts made throughout the world.
    This was one of them.

Posting Permissions

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