Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Data Type

Description

Result

*Result (Optional)

Boolean

True if the value was applied

Column

*Input

Integer

Column in which to apply the value

Value

*Input

Variant

Value to apply

...

SetValueAt can be used to update a value in a list cell.

This allows a value to be set without needing to use LANSA list commands such as UPD_ENTRY, and without needing to know the fields being used as the source of a column.

The entry must exist in the list before it can be updated. If it doesn't, SetValueAt will return a False.

...

This example adds an entry to the list and uses SetValueAt to apply a value to the cell.

...

     Add_Entry to_list(#List)
     #List.CurrentItem.SetValueAt( #Row #Value ))

See also

All Component Classes

Technical Reference