Brings up a message box with an OK button on the client. On the server, it writes the message to the xlog file, similar to the erm function.
clMessageBox (string title, string message);
Parameter  | 
Description  | 
|---|---|
title  | 
Title for the dialog box when running
on the client. Placed first in the xlog when run on the server.
Can also be a literal string, such as   | 
message  | 
String to display in the text of the
dialog box. Placed second in the xlog when run on the server. This
can also be a literal string, such as   | 
None.
clMessageBox (“Quit Message”, “Program terminating”);
string title;
string message;
string pat_name;
pat_name = getPatientName();
title = "Error!";
message = "Unable to parse data for [" + pat_name + "]";
clMessageBox(title, message)
| Copyright © 2005. Sybase Inc. All rights reserved. | 
 
 | 
|