TopMostItem in Comboboxes


Author
Message
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
Hi, I am seeing a display problem with the combobox as expressed by Greg McGuffey on Posted 11/16/2006  in this post http://forum.strataframe.net/FindPost4549.aspx

Greg McGuffey (11/16/2006)
Again, the situation is that I've a bound combobox, with the list being filled via a BO. If the BO the combo is bound to is empty, the first item in the list is selected initially.

I have been playing with the TopMostItem, but the combo does not show the TopMostDescription when navigating through the records (ex, Next, prior, etc.) unless I put code to Requery the combo in the BO.Navigated event which makes no sense if you have to do it in all your forms for all your comboboxes.

Also, when selecting the TopMostItem as a valid option in the combo and trying to save will generate an error due to the value of the TopMostValue either -1 or 0.

In my Case I am binding the combo to an Integer field and have the following values in the TopMostItem: [Select a Company],0 or  [Select a Company],-1

What am I doing wrong here?

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Edhy Rijo - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Edhy Rijo - 16 Years Ago
                         Edhy, I have this very same scenerio setup hundreds of times. You are...
Trent L. Taylor - 16 Years Ago
                             Thanks for the clarification, will check my settings again. Just out...
Edhy Rijo - 16 Years Ago
                                 Yes, I looked at the video. It was kindof hard to see the detail as it...
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search