ADXFNAME

Contents


adxfname determines the name of the fields of an open table.

 

Class, Type, and Dimension

[G:abv]adxfname(13)([G:abv]nbzon) Char

 

Examples

   # Display of the preferences of the CLIENT table, abbreviated CLI
         CLIENT [CLI] File
    Infbox "There are "-num$([G:CLI]nbzon)-"fields in the CLIENT table: "
    For I = 0 To [G:CLI]nbzon-1
           Infbox [G:CLI]adxfname(I)
    Next I
    Infbox "There are "-num$([G:CLI]nbind)-"indexes in the CLIENT table: "
    For I = 0 To [G:CLI]nbind-1
           Infbox [G:CLI]keyname(I)
           [G:CLI]keyuniq(I) Case
                   When 0: Infbox "  (not unique)  "
                   When 1: Infbox "  (unique)  "
                   When 2: Infbox "  (numerous homonyms)  "
           Endcase
           Infbox "Length = "-num$([G:CLI]keylen(I))
   Next I
   Infbox "Total Size of the Record="-num$([G:CLI]tairec)

 

Description and Comments

adxfname is a variable table of the [G] class associated with an open table by a File command. The adxfname dimension is given by the [G]nbzon variable (number of fields defined in the table). adxfname contains the field name of the corresponding table. This variable is only accessible in read mode.

 

Associated Errors

Error

Description

EREADONLY (62)

Attempt to modify the variable

 

Associated Keywords

NBZON - NBIND - TAIREC - KEYUNIQ  - KEYNAME  - FILE


CONTENTS


Copyright © Sage 1999 - 2007