Mar 29 2021 06:35 AM
Hello all,
I have a table (tblMembCars) of members vehicle details. Primary key field in this table is CarID (number/no duplicates). A second field containing the members ID number in a field called MembID (number/duplicates OK). This members ID number is the primary key in a number of other tables.
The form (frmMemCars) for displaying this data has next and previous navigation buttons for displaying a members different vehicles if he has more than 1. This form is a subform of the members form (frmMembers) which contains the members ID number. I am trying to limit the navigation controls to that members cars only. I was thinking if I could create a temporary record set containing only that members car records and navigate back and forth through them only.
I know what I want to achieve but I am at a loss as to how to go about this.
Would it make things easier if I was to swap the primary key in this table (tblMembCars) from CarID to MembID?
Thanks in advance.
Cheers,
Graeme.
Mar 29 2021 07:37 AM
SolutionI think what you might be missing (assuming I'm following the gist of the problem accurately) is the Parent/Child linking fields on the Main Form to coordinate the records on the subform.
I have a demo database which illustrates this on my Website.
Mar 30 2021 01:43 PM
Mar 29 2021 07:37 AM
SolutionI think what you might be missing (assuming I'm following the gist of the problem accurately) is the Parent/Child linking fields on the Main Form to coordinate the records on the subform.
I have a demo database which illustrates this on my Website.