General information
Category:
Forms & Form designer
>Hi all:
>
>I currently have a drop-down combobox with the RowSourcetype set to Value and the Rowsource with values (Name1,Name2,Name3).
>
>In the event that a user's desired choice is not existing in the drop-down combo, I would like to allow the user to enter a value, then add it to the drop-down combo permanently. How can this be achieved.
In rough terms, in the valid:
IF THIS.DISPLAYVALUE <> THIS.VALUE .AND. !EMPTY( THIS.DISPLAYVALUE )
*!* Do what ever you need to add the new value. If it's a customer,
*!* for example, you might need to start a detail form.
ENDIF
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only