Validate_Combo_Value - ComboForm
Determines if a combo form's value is valid
Type: Function
Return Data Type: Integer
Syntax
Function Validate_Combo_Value Returns Integer
Call Example
Get Validate_Combo_Value to IntegerVariable
Description
The Validate_combo_value function returns 0 when the value in this object's window matches that of one of the combo items in the internal list, and non-zero when it does not. It can be used for simple validations. This respects allow_blank_state and will allow blank form values when true.
This would be used with entry_state is set true (when false the value should always be valid).
Get Validate_combo_Value of oComboForm to bErr
If bErr Begin
Error DFERR_OPERATOR_ERROR "Please enter a valid combo value"
End
See Also
allow_blank_state | (entry_state
Return Value
Returns 0 when the value in this object's window matches that of one of the combo items in the internal list, and non-zero when it does not