FLDLIST()

From Lianjapedia
Revision as of 11:27, 12 May 2021 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to return a comma separated list of field names

Syntax

FLDLIST([<workarea | alias>])

See Also

ADESC(), AFIELDS(), DBF(), FIELD(), FIELDNAME(), FILTER(), FLDCOUNT(), INDEXKEY(), NDX(), RTOS(), STR_QUOTEARGS()

Description

The FLDLIST() function returns a string containing a comma separated list of field names. The optional <workarea | alias> parameter can be used to operate on the table in the specified workarea number, or with the specified table alias. If the optional <workarea | alias> is not specified, FLDLIST() operates on the currently selected table. If there is no table selected or open with the specified alias name or in the specified workarea, FLDLIST() returns an error.

Example

open database southwind
use customers
fieldList = fldlist()