Click or drag to resize

DbFileSpec.Find Method (Typed)

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:  XSharp.VO.SDK
Assembly:  XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Find() AS LOGIC
Request Example View Source

Return Value

Type: Logic
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