VB Search Code

B

BTervuren

Please take a look at this code and let me know why I get the a compile error:

Method or data member not found

' If Test Date
If IsDate(Me.Testdate) Then
' Add it to the predicate - exact
strWhere = strWhere & " AND " & "Projects.[Testdate] >= " &
GetDateFilter(Me.Testdate)
ElseIf Nz(Me.Testdate) <> "" Then
strError = cInvalidDateError
End If
 
D

Duane Hookom

One error is your assumption that we know what GetdateFilter() is. Also, I
wouldn't use Nz() without providing the 'if null' value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top