I have this Function where I accept Form and optional Date:
Code:
Public Function FormIsLockBy(ByRef frm As Form, Optional datDate As Date) As String
[green]'... How to check if datDate was passed?[/green]
End Function
Since datDate As Date is optional, I may or may not have it available in this Function.
How do I check if datDate was passed or not?
I did try
[tt]If datDate Is Nothing
If Not (datLetDate = vbNull) Then[/tt]
and some other ways, but no cigar...
Have fun.
---- Andy
A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.