I'm working on a Db the main 1 table logs batch numbers and product details. The next table is for logging faults that occure to these batches. Table is linked by batch number. A serial No. is generated on this fault for consisting of first the batch No. followed by a dcount number that counts the number of fault records raised to that batch+1 to give a unique serial No. I.e. 11111/1. 11111/2 etc. I now need to put into the fault form a subform (actions) with multipul records.
My problem is how to link the 2. If i was to link the actions form by ID field to the fault form by batch number it would list all fault form actions for that batch. (multipul faults) I need to link the sub form to the unique fault form serial No.
My other thought was to combine the 2 fields to log as one the fault serial number logged to the fault table then add the relationship from this to the same ID in the action taable subform.
I've tried putting in this coding to join together the 2 parts and log the complete serialno.
Me.[comp_serial_no] = Me.[TSTL_JOB_NUMBER] & "/" & Me.[NPR_Serial_No]
Problem is its note writting to the [comp_serial_no] If I drop the Me.comp_serial_no from the coding it displays the batch No and the fault code together with no prolems but not saved to the table.
How do i get it to do this???
I've tried to explain this as best i can so hopefully you've got the jist of things.
cheers EQ.
My problem is how to link the 2. If i was to link the actions form by ID field to the fault form by batch number it would list all fault form actions for that batch. (multipul faults) I need to link the sub form to the unique fault form serial No.
My other thought was to combine the 2 fields to log as one the fault serial number logged to the fault table then add the relationship from this to the same ID in the action taable subform.
I've tried putting in this coding to join together the 2 parts and log the complete serialno.
Me.[comp_serial_no] = Me.[TSTL_JOB_NUMBER] & "/" & Me.[NPR_Serial_No]
Problem is its note writting to the [comp_serial_no] If I drop the Me.comp_serial_no from the coding it displays the batch No and the fault code together with no prolems but not saved to the table.
How do i get it to do this???
I've tried to explain this as best i can so hopefully you've got the jist of things.
cheers EQ.