Try to get a fresh reference for the DropDownDatawindow before the retrieve using GetChild()
if dw_1.GetChild ( "account_name" , dwc_account_name) = 1 then
dwc_account_name.retrieve( '%' + data + '%')
else
MessageBox("Hi Paul", "There is something wrong ;-)")
end if
hth
Arnd