Click or drag to resize

DbFileSpec.DBFSGetInfo Method

X#
Fills in the DBFileSpec object's instance variables. This method is not required when using the Find() method, which will invoke this method internally if the file is found.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD DBFSGetInfo(
	xRDDs,
	aHidden
) AS USUAL CLIPPER
Request Example View Source

Parameters

xRDDs (Optional)
Type: Usual
The RDD used to open the target file defined in the DBFileSpec object.
aHidden (Optional)
Type: Usual
The 1-D Array of 'hidden' RDDs required for target file defined in the DBFileSpec object.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Examples
X#
1oDB := DBFileSpec{}
2// path to existing DBF file
3oDB:FullPath := "C:\TEST\CUSTOMER.DBF"
4IF !oDB:DBFSGetInfo()
5MessageBox( 0, "an error occurred", "", 0 )
6ENDIF
See Also