Consultor Eletrônico



Kbase P38202: Why _numfld returns one number higher that the actual number of fields?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Verified

GOAL:

Why _numfld returns one number higher that the actual number of fields?

GOAL:

How to caculate the number of field from _file._numfld?

FIX:

When _File._numfld is queried, the number returned is the "actual # of filelds +1". This is because there is a extra hidden field that holds the table number.

This makes field number starts at 2 instead of 1. We always skip the number because it holds the table number.