SET_FIELDVALUE
|
Syntax: |
SET_FIELDVALUE(<Name of Index
File>,<Field Name>,<Value>)
|
||||||
|
|
|
||||||
|
Meaning: |
Assigns a value to a field of an Index File. If <Field Name> is a numeric field, the
value VAL(<Value>) is assigned to this field. SET_FIELDVALUE returns the result –1 if the <Name
of Index File> or the field <Field Name> does not exist, otherwise
1. This function can be used in order to assign
values to fields of Index Files that have been opened with ADD_INDEXFILE. |
||||||
|
Parameter: |
|
||||||
|
Sample: |
H% = SET_FIELDVALUE("CUSTOMER","NAME$","Smith") |
||||||
|
See also: |
|