WORK IN PROGRESS ALTADataSet.Question

Occurs when an answer to a question is required. Displays a message box with yes and no options.

Remarks: To hide the messages or write your own code for the event procedure, set the UseEvents property of the object to True. The event is raised by the class methods.

## Syntax

_Question(msg, Buttons, ByRef Answer)


### Parameters

sMsg

Required. String. The message to display.

Buttons

Required. The buttons to display when calling Visual Basic's MsgBox function. Can be any MsgBoxStyle constant (see Microsoft's reference documentation for this enum).