Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dropdownlistbox

Status
Not open for further replies.

girls3dog1

Programmer
Nov 22, 2002
30
US
I'm trying to determine which item has been selected from a dropdownlistbox with the selectionchanged event, but do not have the .item[] coded correctly. See below.


if this.item[] = 1 then
dw_datasheet.dataobject = "d_datasheet_cv"
end if
 
If this is a single select dropdownlistbox then you can use the index...

If index = 1 then


If multiselect you are going to have to loop through and check the state

FOR i = 1 to lb_value.TotalItems()
IF lb_value.State(i) = 1 THEN
END IF
NEXT


Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top