J
Joe Coulter
Hi
Can anyone help me with this.
I have a Sub form "Frm_Receipt_Ser" which opens from a main data input form
to input serial numbers of the Pieces of the order, which may vary in
ammounts.
When the quantity_pieces is input on the Main Form, the system creates that
amount of records in another table to house the serial numbers and opens the
Frm_Receipt_Ser to allow the user to input these, what I need to do is ensure
that the user inserts data in all records, I have used the following code on
the After Update Event of Field "Ser_Num"
If IsNull(Me.Ser_Num) Then
MsgBox "Please input all serial numbers"
Else
DoCmd.Close
End If
End Sub
This only works if the cursor is on a null field, if the first record is
inputted and others are null, the form closes.
How can I ensure that the user must input all records??
Thanks in advance
Joe
Can anyone help me with this.
I have a Sub form "Frm_Receipt_Ser" which opens from a main data input form
to input serial numbers of the Pieces of the order, which may vary in
ammounts.
When the quantity_pieces is input on the Main Form, the system creates that
amount of records in another table to house the serial numbers and opens the
Frm_Receipt_Ser to allow the user to input these, what I need to do is ensure
that the user inserts data in all records, I have used the following code on
the After Update Event of Field "Ser_Num"
If IsNull(Me.Ser_Num) Then
MsgBox "Please input all serial numbers"
Else
DoCmd.Close
End If
End Sub
This only works if the cursor is on a null field, if the first record is
inputted and others are null, the form closes.
How can I ensure that the user must input all records??
Thanks in advance
Joe