A
ApexData
I have an SQL statement in the RowSource of a Listbox.
I want to build the WHERE clause in code as a String as follows:
strWhereSQL = "((([T-PERS].SDX2)=[Form].[txtBestSoundex2]))"
'The following code is in my Listbox RowSource
SELECT [T-PERS].LNAME,[T-PERS].FNAME
FROM [T-PERS]
WHERE strWhereSQL
ORDER BY [T-PERS].LNAME;
When I execute the code, I'm prompted to enter a parameter value.
I believe this is occurring because of a delimeter/& issue?
Any Suggestions???
I want to build the WHERE clause in code as a String as follows:
strWhereSQL = "((([T-PERS].SDX2)=[Form].[txtBestSoundex2]))"
'The following code is in my Listbox RowSource
SELECT [T-PERS].LNAME,[T-PERS].FNAME
FROM [T-PERS]
WHERE strWhereSQL
ORDER BY [T-PERS].LNAME;
When I execute the code, I'm prompted to enter a parameter value.
I believe this is occurring because of a delimeter/& issue?
Any Suggestions???