Click or drag to resize

DbFileSpec.Find Method

X#
Locates the file defined in the DBFileSpec object using the current directory, SetDefault(), or SetPath(). Fills in the instance variables of the DBFileSpec if successful.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Find() AS USUAL
Request Example View Source

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Examples
X#
1// find the DBF
2SetDefault( "C:\CAVOxx\SAMPLES\GSTUTOR" )
3oDB := DBFileSpec{}
4oDB:FileName := "CUSTOMER"
5IF oDB:Find()
6<execute some code>
7ENDIF
See Also