Hello,
I have a working app that allows the user to graphically make selection that I would like to translate into a Database Events query. If I were using SQL, I would just concatenate various strings together and have my query. SInce Database Events is based on the object model, I don’t see how I can create a dynamic query. I realize that I can put variables into the query, but in some case whole phrases mayor may not be needed.
For example:
User can select value for field 1, or all values
User can select value for field 2, or all values
This comes out to 4 possibilities. The possibilities grow exponentially as I add more fields.
So, is there any way I can execute a query against a Database events database, then execute a query agaist the results to refine them? Alternatively, is there a way to build a query dynamically? I tried building the query as a text string then using “run script”, but it didn’t work.
Your help is appreciated,
Allan