Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - ch_fldnum( <cfield> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CH_FLDNUM( <cField> )


Parameter

<cField>
Field name.


Returns

Number of the specified field in the current .DBF file. If the field 
does not exist in the current area, or if the current area has no file 
opened, then zero is returned.


Example

// DBF structure:
// NAME     C20
// PHONE    C15
// SALARY   N10
? CH_FLDNUM('phone')
2




Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson