Accessing additional combobox columns...


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I've noticed that when I'm setting up a combobox to be filled using a BO that I only have two columns to work with. The value column and the display column. Obviously the value column contains the ID and the display column can be a single field or a combination field. IE {1} or {1}{2}. I'm assuming I cant add any more columns to the combo box to hold related information about the items in the combo box.



If I am able to add more columns could you please instruct how to do so and then tell me how to access the information in these extra columns.



OR How would I query the datatable in the BO that contains the extra data. Keep in mind I'm piggybacking on a BO. Which is to say I'm executing Stored procedures to return records to fill combo boxes with.
Replies
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
Posts: 436, Visits: 944
Ok. So now I'm going to use a DevExpress LookUpEdit. I'm assuming I can't do the piggyback thing with the lookupedit. Right? Is there another way or do I need to create a dataadapter and a dataset to fill the lookupedit?
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
On a LookupEdit, you can set a business object as the DataSource.  Just remember to set the IsListSource property to True on the business object before you set it as the DataSource.  Then, yes, you will still be able to piggy back off of a business object.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago
StarkMike - 20 Years Ago
Trent L. Taylor - 20 Years Ago
StarkMike - 20 Years Ago
Trent L. Taylor - 20 Years Ago
StarkMike - 20 Years Ago
StrataFrame Team - 20 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search