Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

How code tables are implemented – PB Docs 2022 – PowerBuilder Library

How code tables are implemented – PB Docs 2022

How code tables are implemented

You can define a code table as a property of the following
column edit styles:

  • Edit

  • DropDownListBox

  • RadioButtons

  • DropDownDataWindow

  • EditMask, using spin control

The steps to specify the code table property for each edit style
are similar: you begin by defining a new edit style in the Database
painter. Once you select an edit style, use the specific procedure
that follows to define the code table property.

For how to create an edit style, see About edit styles.

Allowing null values

An internal PowerBuilder code, NULL!, indicates null values
are allowed. To use this code, specify NULL! as the data value, then
specify a display format for nulls for the column.

To define a code table as a property of the Edit edit
style

  1. Select the Use Code Table check box.

  2. Enter the display and data values for the code table.

  3. If you want to restrict input in the column to values in the
    code table, select the Validate check box.

    For more information, see Validating
    user input
    .

To define a code table as a property of the DropDownListBox
edit style

  1. Enter the display and data values for the code table.

  2. If you want to restrict input in the column to values in the
    code table, clear the Allow Editing check box.

    For more information, see Validating
    user input
    .

To define a code table as a property of the RadioButtons edit
style

  • Enter the display and data values for the code table.

To define a code table as a property of the
DropDownDataWindow edit style

  1. Specify the column that provides the display values in the
    Display Column box.

  2. Specify the column that provides the data values in the Data
    Column box.

  3. If you want to restrict input in the column to values in the
    code table, clear the Allow Editing check box.

To define a code table as a property of the EditMask edit
style

  1. Select the Spin Control check box.

  2. Select the Code Table check box.

  3. Enter the display and data values for the code table.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x