[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             AFIELDS             |
+---------------------------------+
AFIELDS(<array>)

-----------------------------------
Places database structure information into array; returns number of
fields in database.
Return value - Numeric
-----------------------------------

<array>
        Name of array.  If array in AFIELDS() doesn't exist it is created.  If
array exists and isn't large enough it is expanded; if array is larger
than necessary, its size is reduced.

----------------------------------

    Array Information and Type

Col #   Field Info              Data Type
-----------------------------------

1               Field names             Character
2               Field types             Character
                C = Character
                D = Date
                L = Logical
                M = Memo
                N = Numeric
                F = Float
3               Field lengths   Numeric
4               Decimal places  Numeric


-----------------------------------

See Also:  ADIR(), COPY STRUCTURE, DIMENSION

-----------------------------------

See Also: ADIR() COPY STRUCTURE DIMENSION
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson