I have 2 tables in my database, a Main table (Patient) and a Sub Table (Appointment).
I've created several forms based on the Appointment table, all including the Primary Key but each form displaying different fields. See below...
Appointment Sub Form1
Appointment_ID
Date
Venue
Nurse
etc
Appointment Sub Form2
Appointment_ID
Diagnosis
Prescription
etc
I've put each Sub Form on separate pages of a tab control. The problem I have is, when I advance through the records of Sub Form1, Sub Form2 does not advance in sync with it. How can I make this happen?
I think maybe using code to force each form to go to the next, previous, first, last or new record would be the answer. Im not sure of what syntax to use to call the other Form Names in each form.
Thanks in advance
Al
I've created several forms based on the Appointment table, all including the Primary Key but each form displaying different fields. See below...
Appointment Sub Form1
Appointment_ID
Date
Venue
Nurse
etc
Appointment Sub Form2
Appointment_ID
Diagnosis
Prescription
etc
I've put each Sub Form on separate pages of a tab control. The problem I have is, when I advance through the records of Sub Form1, Sub Form2 does not advance in sync with it. How can I make this happen?
I think maybe using code to force each form to go to the next, previous, first, last or new record would be the answer. Im not sure of what syntax to use to call the other Form Names in each form.
Thanks in advance
Al