technohead
Technical User
Hi
i just want to make the text in a list box and combo box to be blank when i return to the page if something has already been entered on it.
i thought what i have below would work but it brings me to the click event of both of them. I dont want that to happen.
could anyone tell me why it does this, or whats the right way to make the boxes blank.
frmmain1.cbocusno.ListIndex = -1
frmmain1.listsamename.Text = ""
Thanks
i just want to make the text in a list box and combo box to be blank when i return to the page if something has already been entered on it.
i thought what i have below would work but it brings me to the click event of both of them. I dont want that to happen.
could anyone tell me why it does this, or whats the right way to make the boxes blank.
frmmain1.cbocusno.ListIndex = -1
frmmain1.listsamename.Text = ""
Thanks