Viva Clipper !

FCount()

Advertisements

FCOUNT()

Counts the number of fields in an active database.

Syntax

      FCOUNT() --> nFields

Returns

<nFields> Return the number of fields

Description

This function returns the number of fields in the current or designated work area. If no database is open in this work area, the function will return 0.

Examples

      PROCEDURE Main()
         USE tests NEW
         ? "This database have", tests->( FCOUNT() ), "Fields"
         USE
         RETURN

Compliance

Clipper

Files

Library is rdd

Seealso

FIELDNAME(), TYPE()

Advertisements

Advertisements