Create a Multiple Row SQL Widget
Similar to Single Row SQL, the Multiple Row SQL statement displays in a word wrap fashion with no line breaks. You may prefer to use an SQL editor to format the statement for easier reading and modification. There are a number of popular SQL editors including RazorSQL, Universal SQL Editor, WinSQL and SQL Explorer.
The maximum time limit for this field is 10 seconds. User-defined widgets (including existing widgets) will be assigned the 10 second time limit by default.
To use your Multiple Row SQL widget with Templates On Demand functionality, see Enable Templates On Demand for SQL Widgets.
-
Go to: RADplus Utilities > Widget Management > Widget Definition - Choose Select Widget to launch the Select Widgets screen.
- Select Add New.
- In the Widget ID field, enter the ID.
Note: Use alphabetic or numeric characters, separate words with an underscore. - In the Title field, enter a name for the widget.
- Choose the Widget Type (Multiple Row SQL).
- In the Widget Attributes field, select the attributes that apply.
- In the Multiple Row SQL Statement field, enter all of the SQL statements applicable to your widget.
- In the Widget Category field, enter a descriptive category for reference.
- In the Time Limit (seconds) field, enter the maximum number of seconds that the widget will be able to run. This prevents widgets running for too long and degrading server performance. (Not applicable to URL, or URL/POST widgets.)
- Select Submit.
Note: Notice when you are creating multiple row widgets is that there is no HTML code frame. Rather, all HTML functionality needs to be called out in the SQL statement.
