I think I've tried just about very combo for the Like code and nothing works.
Code:strWhere = "Like "" * """
I think I've tried just about very combo for the Like code and nothing works.
Code:strWhere = "Like "" * """
Sorry, LIKE and wildcard might not work nice with date/time criteria. I don't use dynamic parameterized queries so not sure.
I use only the VBA conditional approach.
If you want to provide db for analysis, follow instructions at bottom of my post. Identify objects involved in issue.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I still have the issue where my passing of data works, but it doesn't show until I play with the Filter Toggle or rerun the previous process.
Have to analyze code if you want to provide. See post 32.
Refer to link at bottom of my post for debugging guidelines.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I went back and read the Allen Browne stuff and realized that code was using the same form. I am passing the info to a second form. I ended up passing the where statement via OpenArgs and then doing a filter on the second form. Now I just need to handle no search criteria being based and returning all records.
Why use OpenArgs? Why not the WHERE CONDITION argument?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
If no OpenArgs are passed, then just set the filter off.