PreviousActiveX Controls Guide (v10) Next

Close

Chapter contents

Applies to:

VAccess

Description

Closes the file associated with the control and returns the status of the close operation.

Syntax

object.Close 
 

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 close the file associated with object, and returns the Pervasive PSQL status code from the operation. A return value of zero indicates success.

Example

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

Chapter contents
Book contents

Prev topic: Clear
Next topic: DdfAddIndex