in my form (Continuous Forms)i have below fields
Doc_Submit_Date
Inv_No
Status (Check Box)
before updating the Check Box i want to make sure the Doc_Submit_Date, Inv_No fields are updated. of not updated the system should not allow the user to check the check box
i'm using below code but no luck
can someone help
ragu![[pc] [pc] [pc]](/data/assets/smilies/pc.gif)
Doc_Submit_Date
Inv_No
Status (Check Box)
before updating the Check Box i want to make sure the Doc_Submit_Date, Inv_No fields are updated. of not updated the system should not allow the user to check the check box
i'm using below code but no luck
Code:
Private Sub Status_BeforeUpdate(Cancel As Integer)
If Trim$(Me.Doc_Submit_Date.Value & "") = "" Then
MsgBox ("Document Submission Date is not updated")
If Trim$(Me.Inv_No.Value & "") = "" Then
MsgBox ("Invoice for this job is not updated")
Else
Me.Status.Locked = False
End If
End If
End Sub
can someone help
ragu
![[pc] [pc] [pc]](/data/assets/smilies/pc.gif)