SetDBFieldCharDefn

Mon 01 January 2018

Syntax

SetDBFieldCharDefn(Field.FieldName, Length [, FormatFamily])

Description

Use the SetDBFieldCharDefn function to create a field definition of type character, with the indicated name, length, and format family.

Note: After using this function, you should use the SetDBFieldLabel function to define the label for the new field.

Parameters

Field or Control ...

read more

SetDBFieldFormat

Mon 01 January 2018

Syntax

SetDBFieldFormat(Field.FieldName, FormatFamily [, FamilyName, DisplayName])

Description

Use the SetDBFieldFormat function to change the format family for a field.

Use the StoredFormat Field property to determine the existing format family for a field.

If you only want to change the display format of a single field at runtime, and ...

read more

SetDBFieldFormatLength

Mon 01 January 2018

Syntax

SetDBFieldFormatLength(FieldName, Length)

Description

Use the SetDBFieldFormatLength function to change the format length for a field. This length controls the maximum number of characters an end user can type into an edit box for this character field. This can be used to limit the user without having to rebuild ...

read more

SetDBFieldLabel

Mon 01 January 2018

Syntax

SetDBFieldLabel(Field.FieldName, LabelID, Long, Short, Default [, LanguageID])

Description

Use the SetDBFieldLabel function to either modify an existing label, or add a new label to a field definition.

Parameters

Field or Control

Definition

FieldName

Specify the name of the field that you want to modify. This name must be ...

read more

SetDBFieldLength

Mon 01 January 2018

Syntax

SetDBFieldLength(Field.FieldName, Length)

Description

Use the SetDBFieldLength function to modify an existing character field to have a new length.

Note: Because using this function changes records that are used to build application tables, you must rebuild (alter) the specified project before these changes can be used.

Use the ...

read more

SetDBFieldNotUsed

Mon 01 January 2018

Syntax

SetDBFieldNotUsed(Field.FieldName, NotUsed)

Description

Use the SetDBFieldNotUsed function to specify whether a database field is used as a chart field or not.

SetDBFieldNotUsed does the following for a field:

  • Specifies whether the field is included in the index when indexes are built for records that contain this field ...

read more

SetDefault

Mon 01 January 2018

Syntax

SetDefault([recordname.]fieldname) 

Description

Use the SetDefault function to set a field to a null value, so that the next time default processing occurs, it is set to its default value: either a default specified in its record field definition or one set programmatically by PeopleCode located in a ...

read more

SetDefaultAll

Mon 01 January 2018

Syntax

SetDefaultAll([recordname.]fieldname) 

Description

Use the SetDefaultAll function to set all occurrences of the specified recordname . fieldname within a scroll to a blank value, so that the next time default processing is run these fields are set to their default value, as specified by the record definition, or one ...

read more

SetDefaultNext

Mon 01 January 2018

Syntax

SetDefaultNext([recordname.]fieldname)

Description

Use the SetDefaultNext function to locate the next occurrence of the recordname.fieldname with the next effective date (and effective-sequence number if specified) and set the field to a blank value, so that the next time default processing is run this field will be set ...

read more

SetDefaultNextRel

Mon 01 January 2018

Syntax

SetDefaultNextRel(search_field, default_field)

Description

Use the SetDefaultNextRel function to locate the next occurrence of the search_field with the next effective date (and effective-sequence number if the record contains an effective-sequence number), then set the value of the specified default_field corresponding to the search_field to a blank value, so that ...

read more