E
Ed Swartz
I have form with an On Current event with the following code:
Private Sub Form_Current
DateVal = "" & Me!LotterySubmissionDate
If DateVal = "01-Jan-1900" Then
DateVal = "In Queue"
End If
Me!LotterySubmissionDate2 = DateVal
End Sub
This worked fine in the past
Today I enabled the ServerFilterByForm.
Now when I open the form I get Error 2424 "The expression you entered
has a field, control, or property name that Microsoft Access can't
find". The error occurs on the 1st line of code in the Form_Current
routine (DateVal = "" & Me!LotterySubmissionDate)
When selected records are found I need to check the Lottery Submission
Date and if 01-Jan-1900 I need to set it to "In Queue".
Any ideas how to workaround this problem ?
Ed
Private Sub Form_Current
DateVal = "" & Me!LotterySubmissionDate
If DateVal = "01-Jan-1900" Then
DateVal = "In Queue"
End If
Me!LotterySubmissionDate2 = DateVal
End Sub
This worked fine in the past
Today I enabled the ServerFilterByForm.
Now when I open the form I get Error 2424 "The expression you entered
has a field, control, or property name that Microsoft Access can't
find". The error occurs on the 1st line of code in the Form_Current
routine (DateVal = "" & Me!LotterySubmissionDate)
When selected records are found I need to check the Lottery Submission
Date and if 01-Jan-1900 I need to set it to "In Queue".
Any ideas how to workaround this problem ?
Ed