Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parametrized Query

Status
Not open for further replies.

pldelosrios

Programmer
Jun 24, 2001
14
ES
I have an Access 97 database attached with an SQL Server 2000 database

In Access the query is:

SELECT * FROM Table1 WHERE Field1 like FNFilter();

the function FNFilter is:
Function FNFilter()
FNFilter = IIf(Len(trim(StFilter)) = 0, "*", StFilter)
end Function

How can i make a parametrized query ????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top