piUpdateColumn - cCJGridPromptList
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
Property Integer piUpdateColumn
| Access Type | Syntax |
|---|---|
| Read Access: | Get piUpdateColumn to IntegerVariable |
| Write Access: | Set piUpdateColumn to IntegerVariable/Value |
Description
The prompt list uses the column specified in piUpdateColumn to determine 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. Columns are zero-based.
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
Set peUpdateMode of hoPrompt to umPromptValue
Set piUpdateColumn of hoPrompt to 0 // first column
End_Procedure