I have 5 filters. They can be set or not.
A set filter contains lov or * otherwise it contains nothing.
I see that prompt is not a valid solutions because it gets me to type a value.
I thought to create a report without filters and at the running moment call a VBA routine. This routine will built my SQL according to the filter settings.
Then I have to pass the SQL statement to BO (my report) and get it running.
The connection is RDO
Is it possible?
Blinky, I think the essence of your post is what is known as optional prompts. Inevitably, this also leads to a discussion of default prompts. Take a look at this post in another thread for guidance on that topic.
Could you re-build the data provider on the fly using VBA? Yes, but it’s kinda messy.