Harbour Reference Guide

 

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
      FUNCTION Main()
        USE Tests NEW
        ? "This database have ",Tests->(FCOUNT()),"Fields"
        USE
      RETURN Nil
Status

Ready

Compliance

This function is CA-Clipper compliant

Files

Library is rdd

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30