Difference between revisions of "ADESC()"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[AADD()]], [[AAVERAGE()]], [[ACOPY()]], [[ADEL()]], [[ADIR()]], [[AELEMENT()]], [[AFIELDS()]], [[AFILL()]], [[AINS()]], [[ALEN()]], [[AMAX()]], [[AMIN()]], [[APPEND FROM ARRAY | + | [[AADD()]], [[AAVERAGE()]], [[ACOPY()]], [[ADEL()]], [[ADIR()]], [[AELEMENT()]], [[AFIELDS()]], [[AFILL()]], [[AINS()]], [[ALEN()]], [[AMAX()]], [[AMIN()]], [[APPEND FROM ARRAY]], [[ARRAY()]], [[ASCAN()]], [[ASIZE()]], [[ASORT()]], [[ASTORE()]], [[ASTRING()]], [[ASUBSCRIPT()]], [[ASUM()]], [[COPY TO ARRAY]], [[DECLARE]], [[DIMENSION]], [[FCOUNT()]], [[FIELD()]], [[FIELDINFO()]], [[FIELDNAME()]], [[GATHER]], [[IN_ARRAY()]], [[IS_ARRAY()]], [[LABEL()]], [[LOCAL]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[SCATTER]], [[NFCOUNT()]], [[SET FIELDS]] |
==Description== | ==Description== | ||
Line 15: | Line 15: | ||
declare headings[fcount()] | declare headings[fcount()] | ||
adesc(headings) | adesc(headings) | ||
− | |||
</code> | </code> | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:Array Processing Functions]] | [[Category:Array Processing Functions]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Function Extensions]] |
Latest revision as of 05:06, 15 March 2016
Contents
Purpose
Function to fill an array with field descriptions
Syntax
ADESC(<array>)
See Also
AADD(), AAVERAGE(), ACOPY(), ADEL(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMAX(), AMIN(), APPEND FROM ARRAY, ARRAY(), ASCAN(), ASIZE(), ASORT(), ASTORE(), ASTRING(), ASUBSCRIPT(), ASUM(), COPY TO ARRAY, DECLARE, DIMENSION, FCOUNT(), FIELD(), FIELDINFO(), FIELDNAME(), GATHER, IN_ARRAY(), IS_ARRAY(), LABEL(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SCATTER, NFCOUNT(), SET FIELDS
Description
The ADESC() function fills the <array> with the field descriptions for the table in the current workarea. The ADESC() function returns the number of fields in the current workarea. The array must have been previously declared. The field descriptions will be copied into the array elements until either the array is full or all the descriptions are copied. The SET FIELDS command can be used to restrict the active fields and therefore determine which descriptions are copied into the array.
Example
declare headings[fcount()] adesc(headings)