home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
FOXPRO
/
FCT1_12
/
FC_BASE.HDR
< prev
next >
Wrap
Text File
|
1990-10-08
|
2KB
|
115 lines
#output Force Tools 1.1 - Database functions
*
* select a database from an untyped pointer
*
procedure a_select prototype
params untyped alias_ptr
*************************************
* Field_Count(<Alias>)
*
* Get the number of fields from a database
*
* Para 1 : Alias van de database
*
FUNCTION UINT Field_Count PROTOTYPE
PARAMS UNTYPED
*************************************
* Field_Name(<Alias>, <Field_Number>)
*
* Get the name from a database field
*
* Para 1 : Alias
* Para 2 : Field number
*
FUNCTION CHAR Field_Name PROTOTYPE
PARAMS UNTYPED, VALUE UINT
*************************************
* Field_Type(<Alias>, <Field_Number>)
*
* Get the type from a database field
*
* Para 1 : Alias van de database
* Para 2 : Field number
*
FUNCTION CHAR Field_Type PROTOTYPE
PARAMS UNTYPED, VALUE UINT
*************************************
* Field_Len(<Alias>, <Field_Number>)
*
* Get the length of a database field
*
* Para 1 : Alias van de database
* Para 2 : Field number
*
FUNCTION UINT Field_Len PROTOTYPE
PARAMS UNTYPED, VALUE UINT
*************************************
* Field_Dec(<Alias>, <Field_Number>)
*
* Get the decimal positions a database field
*
* Para 1 : Alias van de database
* Para 2 : Field number
*
FUNCTION UINT Field_Dec PROTOTYPE
PARAMS UNTYPED, VALUE UINT
*************************************
* Field_Value(<Alias>, <Field_Number>, <ExpX>)
*
* Get the contents of a database field, this reads the field from disk !
*
* Para 1 : Alias
* Para 2 : Fieldnumber
* Para 3 : Receiving var
*
FUNCTION CHAR Field_Value PROTOTYPE
PARAMS UNTYPED, VALUE UINT, UNTYPED
*********************
* Alias_Name(<Alias>)
*
* Get the DOS name from a alias
*
FUNCTION CHAR Alias_Name PROTOTYPE
PARAMS UNTYPED
*********************
* Is_Dbt(<Alias>)
*
* See if there is a memofield attached to the database
*
FUNCTION LOGICAL Is_Dbt PROTOTYPE
PARAMS UNTYPED
***********************
* Dbf_FileSize(<Alias>)
*
* Disk length of a database
*
FUNCTION ULONG Dbf_FileSize PROTOTYPE
PARAMS UNTYPED
***********************
* Index_Order(<Alias>)
*
* Return the current index number
*
FUNCTION UINT Index_Order PROTOTYPE
PARAMS UNTYPED
***********************
* Index_Order_Max(<Alias>)
*
* Get the maximun index number
*
FUNCTION UINT Index_Order_Max PROTOTYPE
PARAMS UNTYPED
* eof - fc_base.hdr