[dba-VB] Combo box

JWColby jwcolby at colbyconsulting.com
Sat Apr 28 00:34:35 CDT 2007


I am running into the issue of how to display multiple lines in a combo box.
IIRC this is a "no can do" in the combos in VB.Net but there must be common
workarounds.  
 
For example I need to allow the user to select a zip code, but he really
needs to see the zip AND the city.  Furthermore my code is going to need to
load a record based on that zip code to get lat/long.
 
So, is there a way other than using a concatenation of the zip and the city
to display both in the combo?  If I do a concatenation, then I can no longer
use the zip to lookup a record in a recordset since it now has city data in
the string.
 
John W. Colby
Colby Consulting
www.ColbyConsulting.com
 



More information about the dba-VB mailing list