HtmlRecordColumn::Expression

Any FoxPro Expression used to evaluate the value rendered into the grid column.

The expression can be any valid FoxPro expression:

  • Cursor/Table Fields
  • Private Variables (note no LOCALs)
  • Class Property or Method
  • Any FoxPro Command
  • Any user defined function or object method

Remarks

If you use field values when binding to a cursor or table ideally it's best not to use the cursor's table prefix (ie. table.fieldname) but rather just specify the field (fieldname). This avoids problems with sorting, which filters the table/cursor with a new query which in turn results in a new cursor name. If a table prefix is used you would end up with the same record in the original table rendered for each field of the filtered table (ie. all the rows have the same data).

See also:

Class HtmlRecordColumn

© West Wind Technologies, 1996-2018 • Updated: 03/24/12
Comment or report problem with topic