KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Display variables vs. fields when using DIALOG or ADD RECORD
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: September 10, 2002

Compatibility: version 6.7.x and 6.8.x

When using forms as a dialog for entering values, users may use either DIALOG or ADD RECORD. Whether to use fields or variables to enter values on the form depends on which command you use.

When a form with fields is displayed using ADD RECORD, the fields are enterable (unless the enterable attribute has been turned off for the field object on the form, or the display-only attribute has been set for the field in the structure editor).

When the same form is displayed using DIALOG, the fields are not enterable. So, to have enterable objects on a form displayed with the DIALOG command, you must use display variables.