5/07/2014

Defining Default Values for Fields

You can specify a default value for a field by entering that value in the Default Value field of the attribute to which the field is bound. You specify a default value in the Details section for the attribute in the Database Configuration application.

Alternatively, you can define a field default value that is local to an application by using the Default Value control.

To define a field default value using the Default Value control:

1) In the Application Designer, open an application in the Workspace tab.
2) Open the Control Palette.
3) Drag the Default Value control into the section that contains the field for which you want to assign a default value. If you do not see the Default Value control in the section, click Select Action > Toggle Show All Controls.
4) Open Control Properties for the control, and perform the following actions:

  • Enter the name of the attribute bound to the field to which you are assigning the default value.
  • Enter the desired default value in the Value field.
  • Select Insert for the Default Type

5) Click Save

No comments:

Post a Comment