PreviousActiveX Controls Guide (v10) Next

Open

Chapter contents

Applies to:

VAccess

Description

Attempts to open the file associated with the control and returns, as an Integer value, the Pervasive PSQL status code.

Syntax

object.Open 
 

Part
Description
object
Required. The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

This method attempts to open the file associated with object. If the file is already open, it is closed before it is opened again. The status code for the operation will be returned by the method and set in the Status property of the control, a value of zero indicating success.

Example

If index > -1 Then 'selected from list 
	VAccess1.Close 
	VAccess1.TableName = Combo1.List(index) 
	VAccess1.Open 
End If 

Chapter contents
Book contents

Prev topic: Insert
Next topic: Refresh