Help anybody!
I have 2 forms: frmSource (data came from 5 tables and consist of textboxes, comboboxes, listboxes, etc.) and frmDestination.
I would like to add another field in the Destination table called AssemblyPartnumber. The system requires that we generate a unique partnumber
Example: A37xxxx-45xxxx-1xxxx
Where:
A=Assembly (required)
37=ID number (first autonumber assigned by Access)
45=ID number (2nd autonumber assigned by Access)
1= ID number (3rd autonumber assigned by Access)
xxxx= last four digit for each partnumber
Using a Input Mask, how can I force a letter A at the beginning of the partnumber (as shown in my example) then concatenate combinations of 3 controls from the frmDestination but only using the last 4 or 5 digits of each unique partnumbers?
Note1: No relationship in my tables.
Note2: These referenced partnumbers are columns from listboxes and are not visible on the frmSource.
Thank you in advance for suggestions or comments
I have 2 forms: frmSource (data came from 5 tables and consist of textboxes, comboboxes, listboxes, etc.) and frmDestination.
I would like to add another field in the Destination table called AssemblyPartnumber. The system requires that we generate a unique partnumber
Example: A37xxxx-45xxxx-1xxxx
Where:
A=Assembly (required)
37=ID number (first autonumber assigned by Access)
45=ID number (2nd autonumber assigned by Access)
1= ID number (3rd autonumber assigned by Access)
xxxx= last four digit for each partnumber
Using a Input Mask, how can I force a letter A at the beginning of the partnumber (as shown in my example) then concatenate combinations of 3 controls from the frmDestination but only using the last 4 or 5 digits of each unique partnumbers?
Note1: No relationship in my tables.
Note2: These referenced partnumbers are columns from listboxes and are not visible on the frmSource.
Thank you in advance for suggestions or comments