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

    Call Parent Form Sub from Sub Form? (A2k (9.0.3821) SR-1)

    Call Parent Form Sub from Sub Form?
    A2k (9.0.3821) SR-1

    How do I call the procedure:

    Private Sub Refresh_Form_Data_Click()

    that is in the parent form from a subform?

    Any help would be appreciated.

    Thanks, John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Call Parent Form Sub from Sub Form? (A2k (9.0.3821) SR-1)

    John,

    Have a look at the thread starting at <post#=145504>post 145504</post#>. You have to make the procedure public.

    Regards,
    Hans

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

    Re: Call Parent Form Sub from Sub Form? (A2k (9.0.3821) SR-1)

    Hi Hans

    Works like a charm.

    On another related matter could you look at:

    Reference Controls in SubForm?

    <!post=Post: 164244,164244>Post: 164244<!/post> re: 164148 from carbonnb

    Thanks, John

    Edited by Charlotte to add link

Posting Permissions

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