Hi
I have a from with this code under one of the command buttons:
Dim pp1 As String
If AUDIT_QUEUE Is Null Then pp1= pp1 & " Please Fill in Audit Que" & vbCrLf
If [from date] Is Null Then pp1 = pp1 & " Please Fill in From Date" & vbCrLf
If [thru date] Is Null Then pp1 pp1 & " Please Fill in Thru Date" & vbCrLf
If PaidAmount Is Null Then pp1 = pp1 & "Please Fill in Paid Amt" & vbCrLf
msgbox pp1
I want the code to create entries in the string pp1 and at the end of the code to display message box with each error on its individual line ... i get error saying object required. Please tell me what i am doing wrong.
thanks!
I have a from with this code under one of the command buttons:
Dim pp1 As String
If AUDIT_QUEUE Is Null Then pp1= pp1 & " Please Fill in Audit Que" & vbCrLf
If [from date] Is Null Then pp1 = pp1 & " Please Fill in From Date" & vbCrLf
If [thru date] Is Null Then pp1 pp1 & " Please Fill in Thru Date" & vbCrLf
If PaidAmount Is Null Then pp1 = pp1 & "Please Fill in Paid Amt" & vbCrLf
msgbox pp1
I want the code to create entries in the string pp1 and at the end of the code to display message box with each error on its individual line ... i get error saying object required. Please tell me what i am doing wrong.
thanks!