Renders a string value from the query result or from executing process_text on the query itself, with optional SQL execution when the query contains a SELECT statement.
STRINGPT — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
No parameters are used directly. Behaviour depends on self._Query content and _Options:
Options["ProcessText"] is "TRUE", "Y", or "YES", process_text is applied to the query string before further evaluation.select (case-insensitive), it is treated as SQL and executed via sql_get_value; the scalar result is returned.self.data_list[0][0] is returned if available.Returns the resolved string with no HTML wrapping.
Options read from self._Options JSON:
| Key | Effect |
|---|---|
ProcessText |
When "TRUE", "Y", or "YES", runs process_text on the query before execution. |
ObjReportString in that it can run process_text on the query and will execute the query as SQL when it contains a SELECT statement.