I could be re-inventing the wheel – but..
I need to allow a user to be able to build ‘customer reports’ from our database – which will be from a GUI.
They can’t have access to SQL just a list of Tables (Data groups) and columns within those groups.
They also have the ability to create Where clauses (criteria).
I’ve looked around Google – but nothing cropped up.
Any ideas?
Thanks for the answers! We ended up doing this ourselves through a collection of views!
For instances:
The views already take care of most of the joining between tables and return as much joined data as they can.
The user then selects what columns they could like to see from each view and we do the join between the views at code level.
The resulting statement is very small as the views take most of the work out of it.