Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
I can't be sure what the specific problem is since I don't have your database to try out the query. My guess, though, is that your where clause needs some grouping symbols.
try the following on that line:
try the following on that line:
Set aRecSet = aCmd.Execute("select * from controlinfo where (Module like 'rental') and (submodule = 'leads')")