I have a Claim table and an Estimate table. The Claim table has a key field called Claim_Number, and the Estimate table has a linked child field with the same name, Claim_Number.
My Form is based on the following query:
Code:
SELECT ESTIMATE.ESTIMATE_ID, ESTIMATE.CLAIM_NUMBER, CLAIM.CLAIM_NUMBER AS Claim FROM ESTIMATE INNER JOIN CLAIM ON ESTIMATE.CLAIM_NUMBER = CLAIM.CLAIM_NUMBER;
The form field Limit To List is set to No. In the field, I need to be able to add a new number to the Claim table and also to the Estimate table (which it does, if it’s a new number), but if it’s a number that already exists in the Claim table, then I need the data added only to the Estimate table.
I can’t have the extra step of having to first add the number to the Claim table before it can be used in the Estimate table.
I hope this makes sense… It seems like this should be simple, but I’m so stuck on this. I don’t really know VBS, but really need the help. Thank you.