piUpdateColumn - cWebPromptList
Allows you to specify the column the prompt list uses for updates and usually which column to should start in
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
{ WebProperty=Client }
Property Integer piUpdateColumn
| Access Type | Syntax |
|---|---|
| Read Access: | WebGet piUpdateColumn to IntegerVariable |
| Write Access: | WebSet piUpdateColumn to IntegerVariable/Value |
Description
Normally, the prompt list determines which column to use automatically.
If the prompt list is relational (peUpdateMode is umPromptRelational), it will pick the column that best matches the invoking object's data entry object (DEO) binding information.
If the prompt list is not relational, it uses the column specified in piUpdateColumn.
The piUpdateColumn property determines which column should be used to seed the prompt list and which column value should be used for updating back to the invoking object. It also is normally used to determine which column the prompt list should start in, although this can be changed by setting piInitialColumn.
Often this property will be set inside of the invoking object's Prompt_Callback event.
// this forces a simple value update for column 0 (id)
Procedure Prompt_Callback Handle hoPrompt
WebSet peUpdateMode of hoPrompt to umPromptValue
WebSet piUpdateColumn of hoPrompt to 0
End_Procedure
About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.
About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.