hi again
seems after half a day searching im back here again. Basically want to load a listbox from a query that is based on the input from a text box. Its gettin late and iv got myself confused over dao,ado recordsets to name but a few. I think i am in the right area just dont know how to progress
currently i have a table with tblCustomers(id,name,areacode,phoneNum)
i want the user to type in the textbox the areacode and it to return all the values in a text box.
SQL stament i have written for this to work is:
Code:
SELECT ID,Name,PhoneNum
FROM tblCustomer
WHERE areacode=txtsearchareacode
sorry if there is a post on this already i have really looked for it but has bin a few hours now with no hope
Thanks for any direction
seems after half a day searching im back here again. Basically want to load a listbox from a query that is based on the input from a text box. Its gettin late and iv got myself confused over dao,ado recordsets to name but a few. I think i am in the right area just dont know how to progress
currently i have a table with tblCustomers(id,name,areacode,phoneNum)
i want the user to type in the textbox the areacode and it to return all the values in a text box.
SQL stament i have written for this to work is:
Code:
SELECT ID,Name,PhoneNum
FROM tblCustomer
WHERE areacode=txtsearchareacode
sorry if there is a post on this already i have really looked for it but has bin a few hours now with no hope
Thanks for any direction