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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lookup field display 1

Status
Not open for further replies.

BabyPowder2u

Programmer
May 4, 2005
87
US
I used a wizard to "find a record on my form based on the value I selected in my combo box"

In my cbolookup I am showing 4 fields. When a field is selected, however, only the the value of the first field is displayed in the cbolookup field.

Is there a way for me to show the result of all 4 fields concatenated together. This has meaning. Showing only the first field has no meaning because this field contains duplicates.
 
Hi
Is this to do with the Column Count and Column Width properties of your combobox? [ponder]
 
Hello Remou,
Well, the answer is yes & no.

What I ended up doing was in the select statement, concatenate the 4 fields "AS fieldname" then changing column count to 2 (first field is key field, 2nd field is the concatenated field which is displayed)

I had looked before to see how I did something similar elsewhere, but couldn't find it then... I just did.

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top