Binding Combobox Issue


Author
Message
LeRoy Jackson, Jr.
LeRoy Jackson, Jr.
StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)StrataFrame Beginner (22 reputation)
Group: Forum Members
Posts: 14, Visits: 55
Hello Everyone!  I am very new to this so this is probably a very simple question.

I have droped my primary BO (Library1) on my my form.  On the text boxes, everything is bound correctly, however on my combobox doesn't show anything.  I created a second BO (Authors) so that the combobox's values would be populated from that. I created a method called FillAll that belongs to the Authors' BO.  This is what I have set on the combobox's property: combo.PopulationType = Busniess object, combo.PopulationDataSourceSettings = Authors.FillAll(), combo.BusinessObject = Library1, combo.BindingField = AuthorName.

 

If I remove the Businessobject and bindingField, The combo is populated but not Bound to the Record.  When I put it back, It is not populated and the values are not loaded.

What am I missing?

Thanks In Advance.

LJ

Replies
Lesscher
Lesscher
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: StrataFrame Users
Posts: 9, Visits: 19
Hi all, I have the same issue here and I would like to see a small sample to, if that's possible.
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi guys,

Please download a combobox sample posted by Trent on the forums sometime ago.

http://forum.strataframe.net/FindPost17985.aspx

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
There are a lot of samples that come with SF that show how to populate a combo including the sample that Edhy reposted.  please look at those as I am sure that through the examples you can compare and see what you are missing.  Thanks.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search