I have a form with a sub form. The master form has a select combo box for selecting the records to display in the sub form, and that works fine.
The problem is that when a new record is added to the sub form and then the form is either refreshed, closed and reopened (via macro), or the select criteria is re-entered, the first record in the table is updated with the select identifier. It is important to refresh the sub form data to get it in the right order.
The details are as follows:
Sub Form table, Appointments, has the following fields: [ApptID] (key); [PractID]; [ApptDate];[TimeID];[PatID].
It is a bridge table. [PractID], [TimeID], and [PatID] are links to other tables. The sub form has all the fields.
Master form has one field, [PractID], to select Appointments record(s).
The forms are linked via [PractID].
Any suggestions for avoiding the unwanted update to the first record?
Thank you in advance for any suggestions.
The problem is that when a new record is added to the sub form and then the form is either refreshed, closed and reopened (via macro), or the select criteria is re-entered, the first record in the table is updated with the select identifier. It is important to refresh the sub form data to get it in the right order.
The details are as follows:
Sub Form table, Appointments, has the following fields: [ApptID] (key); [PractID]; [ApptDate];[TimeID];[PatID].
It is a bridge table. [PractID], [TimeID], and [PatID] are links to other tables. The sub form has all the fields.
Master form has one field, [PractID], to select Appointments record(s).
The forms are linked via [PractID].
Any suggestions for avoiding the unwanted update to the first record?
Thank you in advance for any suggestions.