Combo Box with Custom method


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I have a Combo Box on a form, based on a Business Object. In PopulationdataSourceSettings, I have the MethodToExecute as MyFillByCode. This is a Method I have set up in the Business Object which takes one parameter. In the PopuationDataSourceSettings, it comes up as MyFillByCode(String). What I want is something like MyFillByCode("MyValue") but can change the String.

Because the parameter is not set, the form gives an error on instantiation. Where/how do I pass the method the parameter.

The parameter will not change once the form is loaded. I am using the Combo Box to lookup a table with Codes and Descriptions and store all Codes and descriptions in one table (e.g. Countries, Areas, reps, Groups) . One of the fields in the table identify the type of Lookup, and this is the parameter I am trying to pass. I could have a no. of simular Combo Boxes on the same form , each one for a different lookup.

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