mmaz
Programmer
- Nov 22, 2000
- 347
Hello,
My application enables users to maintain(insert, update & delete) a list of companies.
A combobox lists all the company names, and when the user selects a company, its full profile is displayed.
This is how I did it, but I don't know if there's a better way: Fill my combobox from recordset with only companyId and companyName, and when the user selects a new company, query the database to get the full profile.
Is this a good way, or should I use the proxy pattern or maybe a disconnected ResultSet?
Thanks,
Marie
My application enables users to maintain(insert, update & delete) a list of companies.
A combobox lists all the company names, and when the user selects a company, its full profile is displayed.
This is how I did it, but I don't know if there's a better way: Fill my combobox from recordset with only companyId and companyName, and when the user selects a new company, query the database to get the full profile.
Is this a good way, or should I use the proxy pattern or maybe a disconnected ResultSet?
Thanks,
Marie