FIELDCAPTION and TABLECAPTION

For user messages, errors etc., use FIELDCAPTION not FIELDNAME and TABLECAPTION not TABLENAME.

Reason:

  1. The correct translation will be automatically used.
  2. If the caption/name changes, then there will be a single point of change needed.

Bad code

IF NOT CONFIRM(UpdateLocationQst,TRUE,FIELDNAME("Location Code"),...)

Good code

IF NOT CONFIRM(UpdateLocationQst,TRUE,FIELDCAPTION("Location Code"),...)

Last modified October 23, 2025: Merge pull request #265 from igor-ctrl/patch-1 (afc35a8) by Henrik Helgesen