Thanks for great module. :!:
I would like to suggest a few mods that might prove useful.
1) Provide a copy or clone feature from an existing SQLView module. Helps if making several similar modules with minor differences.
2) Provide a test query button to will return OK or the SQL Error. This helps if you are not able to see the exception detail.
3) Provide a record count variable that could be used in the Header or Footer so that you could report the number of records that match the specific query.
4) Provide default Query values. Helps if you call the page without a expected Query Variable defined.
5) Validate that the sort field is not filled with blanks. Seems that if the order field contains a blank, SQL will attempt to add an Order by clause to the Query.
6) If paging is selected and only one page is generated, then skip generating the page selection links. Similarly, if on the first page display "Next" only or "Prev" if on the last page.
7) (added Jan 8th) Add an additional paging option to place numeric list at top and prev/next at bottom ... and the reverse. Allow the best of both worlds when unsure of amount of records returned or the amount increased over a given period. For example in the morning you get a few rows, but by evening you have many pages... this would allow for both type of paging links.
Hopes these suggestion help
Paul.