Hi,
I have a Windows Dialog (diaCheckInput) screen that contains a ComboBox with a DropDownStyle = DropDownList used to select the name of a Payor. If one can't be found, the last item in the list is "zNo Name Found". If this is selected, it launches another
Dialog to enter the name of the Payor. The Sql table, PayorTbl, is updated and a code set to reload the ComboBox collection on the next entry to diaCheckInput.
I want the ComboBox selection "zNo Name Found" to be updated with the new Payor before the user clicks the Save icon in the ToolStrip. I have tried all sorts of code to accomplish this, but nothing seems to work. Naturally, the next time the diaCheckInput is used, the new Payor is displayed when the ComboBox is accessed.
How do I change the selected ComboBox item, "zNo Name Found", to show the new Payor just entered in the diaPayor?
I have added the a picture of the dialog screens involved below:Image may be NSFW.
Clik here to view.
Terry
Terry 01