Page History
...
The meaning of the response value depends on the service.
Parameters
Parameter | Description |
---|
@Service | The name of the service being requested. Required. |
@Params | Generic parameters. Refer to a specific service to determine the actual parameters used. |
Remarks
This module provides several useful services for high level interaction with database tables and rows.
Services
Service | Description |
---|
CalculateColumn | Usage: |
|
Comments: |
Called directly from within a calculation column. The name of the table and column is derived from the call stack and the associated table commuter, if it exists, is called with the appropriate arguments. Returns: |
The result of the calculated column. |
ClearTableHandle |
Usage: |
|
Comments: |
Clears the table handle array array from cache. This will force the GetTableHandle service to call the Open statement again. Returns: |
DeleteDataRow | Usage: |
Comments: |
Deletes a data row for the indicated Key ID and database table. Returns: |
GetKeyIDLock | Usage: |
Comments: |
Attempts to perform a semaphore lock on the indicated tablename and Key ID. Returns: |
A Boolean flag indicating if the lock request was successfully performed. | |
GetTableCommuter | Usage: |
Comments: |
name of the indicated table's commuter module if it exists. If it does not exist then an empty string will be returned. Returns: |
See comments. |
GetTableHandle | Usage: |
If Error_Services('HasError') then
* An error has occured. Proceed accordingly.
ErrorMessage = Error_Services('GetMessage')
end else
* No error has occured.
end
Returns:
True if there is an error condition, False if there is no error condition.
Comments: |
Error_Services
service call inside of a conditional statement like this:an @FM list of currently attached OpenInsight database tables. Returns: | |
GetTableNames | Usage: Comments: Returns: |
GetTableProperties |
Usage: |
Comments: |
an array of information related to the database table being passed in. Returns:
| ||||||||||||
GetUserLocks |
Returns:
True if there are no error conditions, False if there is an error condition.
Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stock.Note, this can only be done with the UD 5. This can also cause instability with the current session and may require the Task Manager to close the session. Returns: |
IsKeyIDLocked |
Returns:
N/A
Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stockReturns a Boolean flag of the lock status for the indicated table and Key ID. Returns: |
See comments. | |
IsKeyIDSelfLocked | Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stock.Returns a Boolean flag of the self-lock status for the indicated table and Key ID. Returns: |
ReadDataRow |
Returns:
N/A
Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stock.Reads a data row for the indicated Key ID and database table. Returns: |
ReleaseKeyIDLock |
Returns:
N/A
Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stockAttempts to release a semaphore lock on the indicated tablename and Key ID. Returns: |
A Boolean flag indicating if the lock release was successfully performed. | |
SearchIndex | Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stock.Returns an @FM delimited list of Key IDs that match the search value. Returns: |
SetTableAlias |
Returns:
N/A
Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stockAttempts to create an alias for the indicated table, volume, and database. It returns a True$ if successful or a False$ if unsuccessful. Returns: |
A Boolean flag indicating if the alias request was successfully performed. | |
UnlockKeyID | Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stockAttempts to unlock the indicated Key ID from the indicated Table Name. Note, this can only be done with the UD 5. Returns: |
A Boolean flag indicating if the unlock request was successfully performed. | |
VerifyLH | Usage: |
Returns:
N/A
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stock.Performs a health check against the indicated tables and returns back any issues. Note: This uses the Returns: |
VerifyLHAll |
Usage: |
Comments |
Displays the current error message to the end user.
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stock.: Returns: |
WriteDataRow |
Returns:
N/A
Usage: |
Comments: |
Error_Services
is designed to avoid any user interface so it can be safe to use in application contexts where no presentation server context is available (e.g., web applications). For convenience, the DisplayError service was added to make it easy to display the most recent error added to the stock.Writes a data row for the indicated Key ID and database table. Returns: |
...
Params
The proper use of the generic arguments are defined in the definition of each service above.
...