package WebGUI::i18n::English::SQLReport; our $I18N = { '1' => { message => q|SQL Report|, lastUpdated => 1031514049 }, '4' => { message => q|Query|, lastUpdated => 1031514049 }, '8' => { message => q|Edit SQL Report|, lastUpdated => 1031514049 }, '10' => { message => q|Debug: Error: The SQL specified is of an improper format.|, lastUpdated => 1031514049 }, '11' => { message => q|Debug: Error: There was a problem with the query.|, lastUpdated => 1031514049 }, '12' => { message => q|Debug: Error: Could not connect to the database.|, lastUpdated => 1031514049 }, '14' => { message => q|Paginate After|, lastUpdated => 1031514049 }, '15' => { message => q|Preprocess macros on query?|, lastUpdated => 1031514049 }, '16' => { message => q|Debug?|, lastUpdated => 1031514049 }, '17' => { message => q|Debug: Query:|, lastUpdated => 1031514049 }, '18' => { message => q|There were no results for this query.|, lastUpdated => 1031514049 }, '61' => { message => q|SQL Report, Add/Edit|, lastUpdated => 1082365503 }, '71' => { message => q|SQL Reports are perhaps the most powerful wobject in the WebGUI arsenal. They allow a user to query data from any database that they have access to. This is great for getting sales figures from your Accounting database or even summarizing all the message boards on your web site.
Preprocess macros on query?
If you're using WebGUI macros in your query you'll want to check this box.
Debug?
If you want to display debugging and error messages on the page, check this box.
Query
This is a standard SQL query. If you are unfamiliar with SQL then you'll likely not want to use this wobject. You can make your queries more dynamic by using the ^FormParam(); macro.
Database Link
The administrator can configure common databases on which you can run SQL Reports, freeing you from having to know or enter the connectivity information.
Paginate After How many rows should be displayed before splitting the results into separate pages? In other words, how many rows should be displayed per page?
|, lastUpdated => 1082365503 }, '73' => { message => q|The following variables are made available from SQL Reports:
columns_loop
A loop containing information about each column.
column.numberrows_loop
An integer starting with 1 and counting through the number of columns.
column.name
The name of this column as returned by the query.
row.numberrows.count
An integer starting with 1 and counting through the total list of rows.
row.field.NAME.value
The data for a given field in this row where NAME is the name of the field as it is returned by the query.
row.field_loop
A loop containing all of the fields for this row.
field.number
An integer starting with 1 and counting through the number of fields in this row. This is the same as column.number in the column_loop.
field.name
The name of the field as it is returned by the query.
field.value
The data in this field.