Form Methods (inherits FormBlock)
dict openForm
(
string formName,
dictionary parameters,
any key
)
Open a named form
-
Return: dict: Field dictionary if modal
-
Arg: string: Name of form to be opened
-
Arg: dictionary: Parameter dictionary
-
Arg: any: Parent/child link value
bool openReport
(
string reportName,
dictionary parameters,
any key
)
Open a named report
-
Return: bool: Success
-
Arg: string: Name of report to be opened
-
Arg: dictionary: Parameter dictionary
-
Arg: any: Parent/child link value
bool openTextForm
(
string xmlDefn,
dictionary parameters
)
Open an XML form definition
-
Return: bool: Success
-
Arg: string: XML definition
-
Arg: dictionary: Parameter dictionary
bool openTextReport
(
string xmlDefn,
dictionary parameters
)
Open an XML report definition
-
Return: bool: Success
-
Arg: string: XML definition
-
Arg: dictionary: Parameter dictionary
bool openTable
(
string formName,
dictionary parameters
)
Open a named table
-
Return: bool: Success
-
Arg: string: Name of table to be opened
-
Arg: dictionary: Parameter dictionary
bool openQuery
(
string formName,
dictionary parameters
)
Open a named query
-
Return: bool: Success
-
Arg: string: Name of query to be opened
-
Arg: dictionary: Parameter dictionary
pydbi openServer
(
string serverName
)
Get low-level connection to server database
-
Return: pydbi: Connection object
-
Arg: string: Server name
number executeCopier
(
string copierName,
dictionary parameters
)
Execute a copier
-
Return: number: Number of rows copied
-
Arg: string: Copier name
-
Arg: dictionary: Parameter dictionary
list getServerList
(
)
Get list of servers
-
Return: list: List of server names
list getObjectList
(
string serverName,
string objectType
)
Get list of objects on server
-
Return: list: List of object names
-
Arg: string: Server name
-
Arg: string: Object type
string getObjecttext
(
string serverName,
string objectName
)
Get XML definition of object
-
Return: string: XML definition text
-
Arg: string: Server name
-
Arg: string: Object name
void close
(
number rc
)
Close the form
-
Arg: number: Form exit code
-
Return: void:
form findOpenForm
(
string formName
)
Locate an open form
-
Return: form: From or None if not open
-
Arg: string: Name of form to be found