NBZON |
nbzon determines the number of fields of an open table.
Shortint [G:abv]nbzon
# Display of the characteristics of the
BPCUSTOMER table
File BPCUSTOMER [BPC]
Infbox "Il y a
"-num$([G:CLI]nbzon)-"fields in the CLIENT table: "
For I = 0 To [G:BPC]nbzon - 1
Infbox
[G:BPC]adxfname(I)
Next I
Infbox "Il y a
"-num$([G:BPC]nbind)-"index in the CLIENT table: "
For I = 0 To [G:BPC]nbind - 1
Infbox
[G:BPC]keyname(I)
Case
[G:BPC]keyuniq(I)
When 0: Infbox " (With Homonyms) "
When 1: Infbox " (Without Homonyms) "
When 2: Infbox " (Multiple Homonyms) "
Endcase
Infbox "Length =
"-num$([G:BPC]keylen(I))
Next I
Infbox "Total Record Size =
"-num$([G:BPC]tairec)
nbzon is a variable of the [G] class associated with a table declared by a File command.
nbzon contains the number of fields of the corresponding table. This variable is only accessible in read mode.
|
Error |
Description |
|
EREADONLY (62) |
EREADONLY (62) |
NBIND - TAIREC - KEYNAME - KEYUNIQ - ADXFNAME - FILE
|
|