I have created a label in a form that needs to be visible when the invoice due date has been exceeded I have used the following programme in VBA and it does not work. Any suggestions as to why?
Private Sub Form_Current()
If Invoice_Due_Date < Now Then
Dues_outstanding_Label.Visible = True
Else: Dues_outstanding_Label.Visible = False
End If
End Sub
nb
There is another if..then statement before this one within the on current option, would this effect it?
Shall look forward to any suggestions
Private Sub Form_Current()
If Invoice_Due_Date < Now Then
Dues_outstanding_Label.Visible = True
Else: Dues_outstanding_Label.Visible = False
End If
End Sub
nb
There is another if..then statement before this one within the on current option, would this effect it?
Shall look forward to any suggestions