Adding a combo box to the browse dialog


Author
Message
Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Hi Everyone.

I'm B-A-A-A-A-C-C-C-C-K-K-K-K Laugh

I love how easy it is to create search strings using the browse dialog. But I am having problems configuring a combo box for it.

I have a business object for the combobox in my form that has the BorwseDialog on it. The business object gets populated in the

boLookupDetails_ParentFormLoading method. I set the combo box up for the browse dialog using the Business Object tab:

Business Object Type: BOLookupDetails

Method to execute: FillCategoryDetails(Int32)

Display Members: lupdet_dsc and lupdet_pk

Display Member Format String: {0}

Value Member: lupdet_pk

I assume that the problem is that it does not know that it needs to pass 9 ( the foreign key to the lookup category ) to the FillCategoryDetails method. How do I ensure that this happens? I could not find information in the documentation on the Browsr Dialog.

Thanks!


Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Well, I am back up here talking to myself again Laugh

I figured out how to do this. I created a BO with the correct method to get all the lookup detail for the specific category and specified that as the BO for the combo box.

Thanks anyway.

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Marcia G Akins (09/04/2008)
I love how easy it is to create search strings using the browse dialog.

I am sur Charles will be happy to see you saying you starting to love something out of the framework Smile

I am glad you found your way out in this one.  The BD is very powerful and flexible.  The ComboListPopulating event will give you the flexibility to manipulate the data in the combos in a way that you can have a combo filtered based on a selection done in another combo in the BD and that is something really nice.

Edhy Rijo

Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Edhy Rijo (09/04/2008)
[quote]

I am sur Charles will be happy to see you saying you starting to love something out of the framework Smile

I never said that I didn't like the framework. I could see how much easier it was going to make deveoping this project right from the start or I wouldn't have bought it in the first place Wink I was just a little frustrated by the learning curve - I suppose that is normal...

Edhy Rijo (09/04/2008)
[quote]

I am glad you found your way out in this one.  The BD is very powerful and flexible.

In case you haven't figured it out yet, I can almost always figure it out unless it is something really obscure. I am like a dog with a bone once I have a problem that I need to solve Hehe It drives my husband crazy - but, then again, for him it is a really short drive...

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search