B
Breecy via AccessMonster.com
I am trying to call a Public function from the criteria line in the design
view of the query builder in Access 2003. I will try and recreate the look:
Field: Account_ID Control_Date
Table: Historical_Table Historical_Table
Sort:
Show: (checkmarked) (checkmarked)
Criteria: <> "999999" GetDate()
Public Function getdate() As Date
GetDate = "#" & Date & "#"
End Function
When I try and run it, I receive the error : Undefined function 'GetDate' in
expression. What am I doing wrong? Is it not possible to do this?
view of the query builder in Access 2003. I will try and recreate the look:
Field: Account_ID Control_Date
Table: Historical_Table Historical_Table
Sort:
Show: (checkmarked) (checkmarked)
Criteria: <> "999999" GetDate()
Public Function getdate() As Date
GetDate = "#" & Date & "#"
End Function
When I try and run it, I receive the error : Undefined function 'GetDate' in
expression. What am I doing wrong? Is it not possible to do this?