What is the syntax of the _SavetoDB function?
The _SavetoDB function is called in rules that determine whether to send data to the Oracle InForm Publisher queue.
Syntax: _SaveToDB(<Message>,<Trialname>);
Where:
- Message (string)—Parameter that triggers Oracle InForm Publisher to do one of the actions listed below. The rule expression loads the message parameter with a value based on the value of specific items in the form.
The text of the message parameter is fixed. The library in the Oracle InForm to Oracle Argus Safety integration package includes the following constants defining enumerations for the required strings. We recommend that you use these SafetyConstants enumerations to specify the required strings.
- IsReadyToSend¾If the site never completes the item, it will be sent to Oracle Argus Safety within after a time interval configured in Oracle InForm Publisher.
- IsReportableOrSerious¾Marks the safety event as serious and sends it to Oracle Argus Safety after a time interval configured in Oracle InForm Publisher.
- Trialname (string)¾Name of the study, populated by the GetTrialName() predefined function.
Sample call to _SaveToDB:
_SaveToDB('SafetyConstants.IsReportableOrSerious',GetTrialName());
Parent topic: Oracle InForm to Oracle Argus Safety integration