Explenaition:
Im adding a feature where the user can add records in a new table (people2) that will be related to existing records in a table (people1).
Basically im adding a feature with visitors to a db with inmates in a jail. The visitors can visit multiple inmates and the inmates can have multiple visitors
The new records can be related to multiple people in the people1 table and...the people1 records can be related to multiple records in people2 table
First example:
people1 to multiple people2
Second example:
people2 to multiple people1
The db is quite complicated with many calculations when moving from record to record in the main form. (The mainForm displays many tables records in subforms via relations)
The people1 table is already in the db and is used as the main table for the whole db and the main form.
Final goal:
I want to add a new table/form (people2) and display it in the main form. And display the relevant people2 records for the main forms current record.
Of course i need an input form to add the new people2 records and somehow link them to the existing records in people1.
I also want to add a form where the user can search for a people2 record and then display it with related people1 records
The main issues:
1. The main form already has 2 subforms with relations and 1 subform with filtering, so adding another form (for people2 table) with filtering or relation might slow it down to a crawl
2. How do i get the linking working between the tables as the people1 table is already in place. (If there would be a "one to many" linkage one way i can do it, but both ways...?)
3.I want the user to be able to add multiple records to the people2 table and link them to one or many records in the people1 table and if necessary the reverse way to (Link existing people1 records to existing or new people2 records)
thx for any ideas
Z
Im adding a feature where the user can add records in a new table (people2) that will be related to existing records in a table (people1).
Basically im adding a feature with visitors to a db with inmates in a jail. The visitors can visit multiple inmates and the inmates can have multiple visitors
The new records can be related to multiple people in the people1 table and...the people1 records can be related to multiple records in people2 table
First example:
people1 to multiple people2
Second example:
people2 to multiple people1
The db is quite complicated with many calculations when moving from record to record in the main form. (The mainForm displays many tables records in subforms via relations)
The people1 table is already in the db and is used as the main table for the whole db and the main form.
Final goal:
I want to add a new table/form (people2) and display it in the main form. And display the relevant people2 records for the main forms current record.
Of course i need an input form to add the new people2 records and somehow link them to the existing records in people1.
I also want to add a form where the user can search for a people2 record and then display it with related people1 records
The main issues:
1. The main form already has 2 subforms with relations and 1 subform with filtering, so adding another form (for people2 table) with filtering or relation might slow it down to a crawl
2. How do i get the linking working between the tables as the people1 table is already in place. (If there would be a "one to many" linkage one way i can do it, but both ways...?)
3.I want the user to be able to add multiple records to the people2 table and link them to one or many records in the people1 table and if necessary the reverse way to (Link existing people1 records to existing or new people2 records)
thx for any ideas
Z
Last edited: