Close
Show this topic in Library frames
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.SQL 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