in reply to Drop Down Selection From Database
If, on the other hand, you want to generate the current list of comapny names reflecting recent additions, then you would need to do something like this:
(I put in an ID_no assuming that this is a relational database and you are using surrogate keys. You may need them further along in the query form)select distinct ID_no, Company_Name from Companies order by CompanyName
Then you would take the array returned by the SELECT and use it to populate the drop-down list.
-----
"Computeri non cogitant, ergo non sunt"
|
---|