Results 1 to 2 of 2
  1. #1
    UTS is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Downunder
    Posts
    17

    Problem getting new data to an open form

    (Sorry moderators, originally posted this in the wrong forum)



    I have two tables "Patients" and "Doctors". A main form is used to update the patients records, and there is a section to show the associated doctor details (name, address etc). The patient table records only the Doc_ID, and there is a one to many relationship between the two tables.

    To choose a doctor, it is just a matter of selecting him/her from a drop-down list and move on. However, if the doctor is not listed, I have a button that calls a form to add the new doctor to the Doctor table. So far so good.

    Unfortunately, the new doctor is not available in the main form until I close and restart the main form. When entering hundreds of records per day, this causes some turbulence to the normally smooth flow.

    I would like to be able to add a new doctor and add him/her to the current patient record without having to close/restart the main form.

    I have been fiddling around with sub-forms but don't seem to be getting anywhere.

    Cheers,
    UTS

  2. #2
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481
    << Unfortunately, the new doctor is not available in the main form until I close and restart the main form. When entering hundreds of records per day, this causes some turbulence to the normally smooth flow. >>
    This suggests that the update is being made but you can't see it because the query isn't refreshed. Without having details, all I can suggest is that you need to issue a requery.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 11-09-2011, 09:45 AM
  2. OPen Form to add data
    By joemills62 in forum Forms
    Replies: 3
    Last Post: 06-17-2011, 10:14 AM
  3. Replies: 5
    Last Post: 03-03-2011, 03:56 PM
  4. Form Data problem
    By rjjhome in forum Forms
    Replies: 7
    Last Post: 05-29-2009, 11:51 AM
  5. Form Data Entry Problem?
    By corystemp in forum Database Design
    Replies: 1
    Last Post: 03-21-2009, 02:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums