G
george
My question refers to article # 304302 of the knowledge
base having to do with building a dynamic query with
criteria from a search form.
In the article, inside the code, is mentioned
BuildCriteria(.Name, dbText, .Text). Where does each of
the three parameters refer to? I tried to apply the code
to my situation but the SQL query that resulted from the
coding looked something like this: "Select * from Clients
Where [SMITH] and [JOHN]" -- in other words it didn't get
to include the "LName = " and "FName= " fields (the fields
where SMITH and JOHN come from). Anybody having an idea
why is this happening? Thanks in advance.
base having to do with building a dynamic query with
criteria from a search form.
In the article, inside the code, is mentioned
BuildCriteria(.Name, dbText, .Text). Where does each of
the three parameters refer to? I tried to apply the code
to my situation but the SQL query that resulted from the
coding looked something like this: "Select * from Clients
Where [SMITH] and [JOHN]" -- in other words it didn't get
to include the "LName = " and "FName= " fields (the fields
where SMITH and JOHN come from). Anybody having an idea
why is this happening? Thanks in advance.