PreviousActiveX Controls Guide (9.1 revision 1) Next

StatusDialog

Show this topic in Library frames

Applies to:

VAccess

Description

Invoking this method will display a task-modal message box at run time if set to a non-zero number. Common Pervasive.SQL status codes are explained, less common or unrecognized status codes are simply reported.

Syntax

object.StatusDialog [status] 
 

Part
Description
object
Required. The object placeholder represents an object expression that evaluates to an object in the Applies To list.
status
Optional. Integer value. If no value is specified, the current value of the Status property is used.

Example

If stat = 0 Then
 Text1.Text = VAccess1.FieldValue("msa_desc")
 Text2.Text = _  
 VAccess1.GetFieldValue("population", "##,###,###") 
 Text3.Text = VAccess1.FieldValue(2) 
Else
   VAccess1.StatusDialog stat
End If 

Chapter contents
Publication contents

Prev topic: Stat
Next topic: StepFirst