OraFormsEndMessageBlock Function

Action

OraFormsBeginMessageBlock and OraFormsEndMessageBlock bundle a set of requests that must be sent within a single round trip. The Silk Performer Recorder automatically detects which requests must be bundled as a message block.

Include file

OraForms.bdh

Syntax

OraFormsEndMessageBlock( in sTimer : string ) : boolean;

Return value

  • true if successful
  • false otherwise
Parameter Description
sTimer The name of the message block. This is the same name as used for the corresponding OraFormsBeginMessageBlock function.

Example

dcltrans
  transaction TMain
  begin
    ThinkTime(12.8);
    OraFromsBeginMessageBlock("Create Appointment#1");
    OraFormsWindowMove("Create Appointment", 200, 0);
    OraFormsSetFocus("CONTROL_PB_HOME0"); // Home
    OraFormsEndMessageBlock("Create Appointment#1);
  end TMain