ALTADataSet.Message

Occurs when an error is produced. Displays an error message.

Syntax
_Message(msg, IsCritical)

Parameters
msg
 * Required. String. The message to display when an error occurs.

IsCritical
 * Required. Boolean. Indicates whether the error is critical. Default value = False.

Example
The following example provides a simple demonstration on how to customize the event procedure. VBA ads ALTADataSet Main ads = ALTADataSet ads.UseEvents = True ads.Calculate Msgbox ads_Message( msg, IsCritical ) MsgBox (msg)

VB.NET ads ALTADataSet Main ads = ALTADataSet ads.UseEvents = True ads.Calculate Msgbox ads_Message(msg, IsCritical ) ads.Message MsgBox (msg)