However, when I use this, I get an error. Do I need to run the base code for ListPopulatingEvent (as I use this) or any other code in my subclassed control ?
Fot the purpose of the test, I have 2 Business Objects set up, Customers and Products. I have a Maintnance form with 3 fields from the Customers, and then a ComboBox which just selects out all from Products table, and I am trying to Bind this to one of the address fields.
At this point in time, nothing is appearing in the drop down list, or nothining is appearing in the ComboBox field as I cycle through the customers.
I'd apprecaiet it if somebody could have a look.... The combo boxes I am trying to use will be taking the data from another table , so thats why I have used the products table in the test...just to simulate data coming from a different BO.
A guy's walking down the street and sees a drunk down on his hands and knees under a street light. "Can I help you?" he says. "I lost my keys", the drunk says - "I dropped them down the block beside my car." "So why are you looking for them here under this street light?", the guy says. "Because the light's better here."
I spent two hours wondering why the StrataFrame combobox wasn't working. I Especially wondered why it was loading 524 blanks in the combobox! I looked at the Products table, and prod_Name contained product descriptions. Then I open the SQL Management Console and did a quick query, and slapped myself on the forehead.
Problem is, prod_desc doesn't contain descriptions. It's empty. Bind to prod_Name, and it works fine.
Thanks for the trip down memory lane (I've done this before...)
Les
I have now investigated further and can reproduce the results with the SF sample ..but with a field that has data. The following sequence causes an error
The reason this was happening with my own data was because I had imported a table , the drop down field was 10 character string field and say it has 'ABCD' the import padded this out with 6 blanks