Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Nov 2001
    Location
    Toronto Canada
    Posts
    920
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Requery SubForms (A2K)

    Scenario:

    MainFormName: frm AGMPrj
    Cheers,
    Andy

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

    Re: Requery SubForms (A2K)

    Requery the combo box on SubForm2 in the After Insert event of SubForm1.

    Private Sub Form_AfterInsert()
    Me.Parent.SubForm2.Form.cboDropdown.Requery
    End Sub

    where SubForm2 is the name of the second subform as a control on the main form, and cboDropdown is the name of the combo box.

  3. #3
    5 Star Lounger
    Join Date
    Nov 2001
    Location
    Toronto Canada
    Posts
    920
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Requery SubForms (A2K)

    Hans,

    I know I'm sounding repetitive, but, once more, bang on & dead perfect. Thanks very much,

    Andy
    Cheers,
    Andy

Posting Permissions

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