SIMPOL Documentation

getfieldinfoarray()

Description

This is a legacy function for retrieving an array of field info information. It retrieves an array that has the field names from a table in index order beginning with 1, and for each name has a field reference like fieldinfo["myfield"] and the display format for the field in fieldinfo["myfield", 1] with the total number of fields stored in teh array nul position []. Additional information is stored in the positions 2, 3, 4, 5, and 6, as follows: the help string, comment, field name, if the field is considered shareable, and its share name.

Prototype

getfieldinfoarray ( type(db1table) table, string defboolean, string definteger, string defnumber, string defdate, string deftime, string defdatetime )

Parameters

ParameterDefault valueType nameDescription
tableNonetype(db1table)
defbooleanT|Fstring
definteger.string
defnumber.string
defdateyyyy0m0dstring
deftimehh:mm:ssstring
defdatetimeyyyy-mm-dd hh:mm:ss.nnnnnnstring