Setting a Default on a Combo Box

Try

cb-salesrepcode:SCREEN-VALUE = cb-salesrepcode:ENTRY(1).

This will give you the first entry in your combo-box.

You may have to include the frame name in your statement.

cb-salesrepcode:SCREEN-VALUE in frame f-in = cb-salesrepcode:ENTRY(1).





Carl Peterson
Nexus Software, Inc.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
ksimon8fw
Sent: Saturday, May 15, 2010 12:12 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Setting a Default on a Combo Box


I've got a popup form that requires users to select a value from a drop-down
list. Currently, the form comes up with no values selected. I'd like to
modify the form so, on form load, the first value in the drop down list is
selected.

I've battled with the syntax within the form_load, but no luck. Would anyone
have a sample of setting a DropDown (ComboBox) to a particular index.

Thanks.
Kevin



[Non-text portions of this message have been removed]
I've got a popup form that requires users to select a value from a drop-down list. Currently, the form comes up with no values selected. I'd like to modify the form so, on form load, the first value in the drop down list is selected.

I've battled with the syntax within the form_load, but no luck. Would anyone have a sample of setting a DropDown (ComboBox) to a particular index.

Thanks.
Kevin