G
Guest
Good Morning,
I have a combo box with a number of columns. Using a command button I want a
message to be displayed if the field in column 4 of the combo box is Null.
For a single column field I had previously used the following VB under the
click event to do this:
If (Nz(Me.WorkInstruction.Value, "") = "") Then
MsgBox "This Job has no Work Instruction.", vbInformation +
vbOKOnly, _
"No Work Instruction"
This worked fine so I have tried to use the following to get the same
result. It doesn't seem to like it!!!!!
If (Nz(Me.WorkInstruction.Column(4).Value, "") = "") Then
MsgBox "This Job has no Work Instruction.", vbInformation +
vbOKOnly, _
"No Work Instruction"
Please help me.... Thanx in advance
I have a combo box with a number of columns. Using a command button I want a
message to be displayed if the field in column 4 of the combo box is Null.
For a single column field I had previously used the following VB under the
click event to do this:
If (Nz(Me.WorkInstruction.Value, "") = "") Then
MsgBox "This Job has no Work Instruction.", vbInformation +
vbOKOnly, _
"No Work Instruction"
This worked fine so I have tried to use the following to get the same
result. It doesn't seem to like it!!!!!
If (Nz(Me.WorkInstruction.Column(4).Value, "") = "") Then
MsgBox "This Job has no Work Instruction.", vbInformation +
vbOKOnly, _
"No Work Instruction"
Please help me.... Thanx in advance