Many before the One

M

MarkH

In my real world situation a set of iterations takes
place, which would be the 'many' side of a linked pair of
tables and after the iterations a single Approval Date is
arrived at, which would be in the 'One' side. After this
Approval Date a permit number is generated which seemed
to me to be the best thing for the primary key since it
is very important that permit dates are not duplicated.
The problem is that I cannot begin making records of the
iterative information until I have a permit number in
this scenario. Any ideas on how to dance around this and
still maintain unique permit numbers?
 
L

Lynn Trapp

Without creating the Primary Key on the "One" side there is no way to create
records on the "Many" side that are linked to the "One" side. Therefore, you
will need to create a separate field for your Permit Number and update that
once your Approval Date has been arrived at. You can use the DMax function
to generate the next available permit number.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top