mimitan
Technical User
- Dec 17, 2004
- 34
I have a listbox that display a select distinct field from SQL and I have a button when clicked, it supposed to copy the content of the listbox into a textbox, but it didnot, it seems like I have the select the value first then click copy. Is there a way to default it to automatically select the content of the listbox?
the code of my button clicked
Protected Sub CopyButton_Click()
Address.Text = OldAddressListBox.SelectedValue
Thank for help
the code of my button clicked
Protected Sub CopyButton_Click()
Address.Text = OldAddressListBox.SelectedValue
Thank for help