Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying information in a combo

Status
Not open for further replies.

Earth

Technical User
May 8, 2000
59
AU
This is something which is fairly simple, but I have no idea how to do it.<br><br>I have a &quot;JobCombo&quot; Combo Box on a form. The user selects which job they want, from the pull-down list which displays the &quot;Department&quot;, &quot;Job No&quot; and &quot;Job Name&quot;. (&quot;Job No&quot; being the bound, and key column).<br><br>The problem is that only the &quot;Department&quot; ends up being displayed in the combo box. I need for all three fields to be displayed in the combo box. I've tried various methods, but in the end, I have no idea. Any suggestions?
 
yeah, change the &quot;Column Count&quot; property to 3, adjust the &quot;Column Widths&quot; property accordingly (try something like 1&quot;;1&quot;;1&quot;), put the &quot;Bound Column&quot; to 2, and change the &quot;List Width&quot; to equal the sum of the three column widths (in my example it would be 3&quot;).<br><br>this should do it for you. <p>Brian Famous<br><a href=mailto:bfamous@ncdoi.net>bfamous@ncdoi.net</a><br><a href= > </a><br>
 
I actually already had that set up what famousb suggested, which is why I found this to be so frustrating.<br><br>The combo box stores the correct information from the item selected from the list; it just not display it to the user IN the combo box on the form. I have tried making the &quot;List Width&quot; column both equal to, and greater than, the sum of the three column widths, but it still only displays the first column.
 
If you want all the info to show in one column, then concatenate them together in another column, then hide the other columns by setting their widths to 0&quot;, leave the bound column the same.<br><br>This puts them together in the column.<br><br>Exp: [Field1] & &quot; &quot; & [Field2] & &quot; &quot; & [Field3]<br><br>Of course the actual names of your fields need to be used.<br>Also if you are showing the Column Headings, you need to change &quot;Exp&quot; to something meaningful.<br><br>HTH<br>RDH <p>Ricky Hicks<br><a href=mailto: rdhicks@mindspring.com> rdhicks@mindspring.com</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top