This content has been marked as final. Show 4 replies
Changing Another Field with Combobox ( Drop Down)Selection
Hope that helps,
Sure there is. Do you want the address fields to be editable after (or before) the data auto populates them? How many items will you have in the combo box?
Thanks Dmitri. That article was pretty much what I needed. I was going to use a single text field for the address and try to embed line breaks (\n) but wasn't sure if that would work. Using separate address text fields is neater.
George, the address fields do not need to be editable in this case but I would be interested to see your solution if they need to be. The initial form will have a small number of combo box selection (eg < 5) but if it works well, I can see a much larger application.
I asked about the read-only aspect because it could have an impact on where you decide to place the code. The sample provided by Dimitri is a good one regardless.