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.