Siebel Reports Administration Guide > Upgrade Instructions for Siebel 7.5.3 > Migrating Pre-Siebel 6 Custom Reports to the Siebel Reports Server >

About Message Boxes


Reports often use message boxes for reporting errors. However, message boxes are relevant only on the Windows platform on a client machine, and do not work when reports are being generated in batch mode on a Reports Server. sssiebel.bas provides operating-system-independent functions for error reporting, with behavior appropriate to the environment in which the report is executed.

The MsgBox function in method code in ROL and ROD files is replaced with ssDisplayMessage or ssProcessLastError, depending on whether an AppServer variable is used. For a message box that presents an information string, ssDisplayMessage is used, as follows:

MsgBox (string)

changes to

ssDisplayMessage (string)

A message box that makes use of the AppServer or ssAppServer variable uses the ssProcessLastError function.

MsgBox ssAppServer.GetLastErrText ()

changes to

ssProcessLastError (ssAppServer, "", "")

The syntax for the ssProcessLastError function is as follows:

ssProcessLastError (object_integer, pre_message_string, post_message_string)


 Siebel Reports Administration Guide 
 Published: 18 July 2003