My Primary Key, if its located in the Table or Elsewhere, is going to be the Proposal Number. (The database will track various information on Proposals. Therefor my Proposal Number will be a Key.)
The Proposal Number is something that this Access program will build by the user making some selections.
The Proposal Number is made up of four parts: A sequenced number, A Program ID, A Job Type ID and the current Year and Month. (All Proposal Numbers Start with a “Z”)
I have Three tables
Sequence / Proposal Number
1 Z0001-FA16-RP-1611
2
Program / Program ID
Blackhawk Helicopter UH60
Job Type / Type ID
New Fabrication NF
Example: Z0002-UH60-NF-1612
So I am pulling the DMax sequence Number from my “PID_SEQUENCE” Table. Then Using the Users Selected Program ID, the users Job Type ID and the Date to create the Proposal Number.
I am taking these parts/pieces and Concatenating them (Hence the Calculation). This calculated Field is what I want to take and Store it as a Value someplace.
Hope that’s clear.