Hi
I have a global variable G_LOCATION that is either set to
"Like BES" or
"NOT Like BES"
I then have a wrapper function
This is called from with in a query
e.g.
Field: Location
Table: dbo_Master1
Criteria: Location()
My Wuester is:
Is it possible to set the Criteria using my wrapper function e.g. LIKE BES
Or will I have to hard code it into the Query e.g. Like Location()
Thanks
Phil
I have a global variable G_LOCATION that is either set to
"Like BES" or
"NOT Like BES"
I then have a wrapper function
Code:
Public Function LOCATION() As String
LOCATION = G_Location
End Function
This is called from with in a query
e.g.
Field: Location
Table: dbo_Master1
Criteria: Location()
My Wuester is:
Is it possible to set the Criteria using my wrapper function e.g. LIKE BES
Or will I have to hard code it into the Query e.g. Like Location()
Thanks
Phil