Hi all,
I'm sure there is a simple solution to this, I just can't find it.
What I want to do is to build an SQL Select query based on a number of inputs gotten from a user. In other words, build a string, execute it as an SQL statment and display the result to the user.
The closest I've come to this is DoCmd.runSQL(), but that doesn't seem to allow Select statements.
Any ideas or comments would be much appreciated.
Regards,
Andrew
I'm sure there is a simple solution to this, I just can't find it.
What I want to do is to build an SQL Select query based on a number of inputs gotten from a user. In other words, build a string, execute it as an SQL statment and display the result to the user.
The closest I've come to this is DoCmd.runSQL(), but that doesn't seem to allow Select statements.
Any ideas or comments would be much appreciated.
Regards,
Andrew