Thank you Rabbie, but I can't help to think I am doing something very wrong with my relationships.Try this approach
Table Quotes
QuoteNumber(PK)
Customer
Table Revisions
RevisionID(PK)
QuoteNumber(FK)
RevisionNumber (For this quote)
You should be able to link these tables using a join which shows all Quotes and any revisions that belong to a quote. I imagine you may have initial quotes with no revisions.
Base your form on a query that shows the linked data.
Hope this helps![]()
I created a new database with just the feilds mentioned. On the Table Quotes I created QuoteNumber as a number type field, and customer as text. I then created a new table called Table Revisions. Field Revisions ID as Autonumber, and Field QuoteNumber as type number. I left RevisionNumber as text.
Under relationships I joined both QuoteNumber from Table Quotes, and Field Quotenumber from Table Revisions Enforcing Integrity, and cascade both update and delete. Under Join Type I chose Option 3 which was Include ALL records from 'Table Revisions' and only those records from 'Table Quotes' where the joined fields are equal.
I created a Query using all fields from both tables and created a form based on this query. When I use QuoteNumber and Customer from Table Quotes, and RevisionNumber from Table Revisions I am unable to add new Revisions Still. I get the error that doing this will create duplicate enties in the primary key, index or relationship.
I will love you all forever if you can teach this old dog how to do this.