Hi all,
I have a project which has different goals.
- It should be with inDB tool
- IT should be a analytical app
- It has multiple queries
- Queries are dynamic
So let me explain what I did and how it works.
When it runs as analytical app, I can answer multiple input and used in the query as dynamic input. DONE!
I have 20+ different queries, I unioned all. I wrote a batch macro consists inDB elements. So what it does that, when it runs, it reads the values, replaces the placeholders in the queries and then process it. DONE!
Assume that DT is the dynamic part. The problem is the output.
Query Fields
1 A, DT, sheetname (sh1)
2 B, DT, sheetname (sh2)
3 C, DT, sheetname (sh3)
The output is combined as A, B, C, DT and sheetname is the tab names in excel.
The expected output is
Excel tab sh1: A, DT
Excel tab sh2: B, DT
Excel tab sh4: C, DT
All tab names are working.... However each worksheet are returning as combined fields such as A, B, C, DT regardless any query has a result or not.
I cannot provide the workflow at the moment.
Any suggestions?
Albert
I wrote a batch macro which