T
Tommo
I have a form which has unbound controls PeriodStartDate and PeriodEndDate
which are pre-filled on form load. I want to use these dates to filter the
records available on the form. For all the options I have tried I get an
Invalid use of NULL message.
I am fairly certain it is because the user has not entered anything in the
controls and that there is a way of forcing Access to "read" the values in
them.
I have the following (I will only give the start date),
Dim strPeriodStartDate As String
strPeriodStartDate = Me.PeriodStartDate
..... I have also used
strPeriodStartDate = Me.PeriodStartDate.Value
Any ideas?
which are pre-filled on form load. I want to use these dates to filter the
records available on the form. For all the options I have tried I get an
Invalid use of NULL message.
I am fairly certain it is because the user has not entered anything in the
controls and that there is a way of forcing Access to "read" the values in
them.
I have the following (I will only give the start date),
Dim strPeriodStartDate As String
strPeriodStartDate = Me.PeriodStartDate
..... I have also used
strPeriodStartDate = Me.PeriodStartDate.Value
Any ideas?