Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Vlad,
Are you saying I need to code something like Replace View.Field with This.DisplayValue in the Valid? Man, that seems like it should be unnecessary given I have bound the ControlSource to the field in the view. I don't really understand how the AddItem and AddListItem methods work. Looked them up, but it didn't become clear.
Renoir
>This always required additional code in the Valid event of the combobox to save new value manually. The value typed in the textbox portion of the combobox is stored in the DisplayValue property. Beware about its refreshing - it refreshed quite often by many actions with properties and methods of combobox. You can also always add this new item to the combobox list using AddItem or AddListItem methods of combobox - they work for any row source type, data in list is just a copy of data in the RowSourse and updated by Requery method or RowSource change.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only