Results 1 to 2 of 2

Thread: error (2007)

  1. #1
    rlbroerman
    Guest

    error (2007)

    When I try to bring up a record with a SSN in "Patients 2nd and subsequent visit" from the switchboard I get an error. And I can't seem to figure out why, can you help, please?
    Attached Files Attached Files

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

    Re: error (2007)

    In the After Update event of ComboSocSec you have a line

    Me.Visits.Requery

    However, the name of the subform is Visits 2nd, not Visits, so you must change the line to

    Me.[Visits 2nd].Requery

    The square brackets are necessary because the name contains a space.

Posting Permissions

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