EMS logo

Products Navigation

SQL Manager for SQL Server

Our Partnership Status

Microsoft Certified Partner
Oracle Certified Partner
Embarcadero Technology Partner

EMS SQL Manager for SQL Server

On-line Documentation

Adding dialog form


To add a dialog form, select the File | New Dialog main menu item in Report Designer.

 

The new dialog appears within the DialogPage1 tab of the designer. Use the available RAD tools to add necessary interface elements to the dialog.

 

Report Designer - Adding dialog form

 

 

To call the dialog, proceed to the Code tab and supply the corresponding statement (PascalScript), e.g.

begin

DialogPage1.ShowModal;

end.

 

Using the Language drop-down list you can select the script language to be used for the event handler: PascalScript (by default), C++Script, BasicScript, JScript.

 

For instance, the following C++ Script code can be used as the handler for the OnClick event of the 'Show' button to open ADOQuery:

{

ADOQuery1.Active = true;

}

 

 


See also:

Adding database and query components

Adding report data

Viewing the report

Saving the report