Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

FIELDPOS()

Return the ordinal position of a field.
---------------------------------------------------------------------------------

 Syntax

        FIELDPOS(<cFieldName>) --> nFieldPos  

 Arguments

        <cFieldName>   Name of a field.    

 Returns

        <nFieldPos>   is ordinal position of the field.    

 Description

      This function return the ordinal position of the specified field
      <cField>  in the current or aliased work areaIf there isn't  field
      under the name  of <cField> or of no database is open in the
      selected work area, the func-  tion will return a 0.

 Examples

      FUNCTION Main()
      USE Test NEW
      ? Test->(FIELDPOS("ID"))
      USE
      RETURN NIL

Status

      Ready

 Compliance

      This function is CA-Clipper compliant.

 Files

      Library is rdd



See Also: FIELDGET() FIELDPUT()

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