Sample code:
; Enter username to transfer item to Input
$newUserInput = GUICtrlCreateCombo("", 180, 170, 350, 35, BitOR($CBS_DROPDOWNLIST, $WS_VSCROLL, $CBS_SORT))
GUICtrlSetFont(-1, 14, 400, 0, "Tahoma")
GUICtrlSendMsg(-1, $CB_SETMINVISIBLE, 10, 0)
Part 2 of sample code:
If $itemString <> "" Then
Local $mySQLstatement = "SELECT * FROM Inventory WHERE Name = '" & $itemString & "' AND Status = 1"
$executeStatement = _Query($global_SQLInstance, $mySQLstatement)
$internalName = $executeStatement.Fields("Name").value
$usernameID = $executeStatement.Fields("UserID").va