Hi all
I have an interesting thought from an end-user: it would be handy to have a "preview" run of any query that's currently made up in the SysQueryForm.
Is this even possible? Building a grid dynamically based on a passed query and execute it with like the first 10 rows.
Conceptually, i guess yes, as you know the tables, fields and ranges. You could then create proper columns and then execute the query and populate the grid.
The difficult part lies in converting the in-memory (not in AOT!!) Query and its QueryBuildDataSources to FormBuildDatasources etc. Is there an easy way? Preferably, I dont want to loop over all the datasources/ranges and convert. Simply passing along the query (or its datasources) as an object somewhere would be perfect.
Interested to hear your opinions.
*This post is locked for comments
I have the same question (0)