Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to check if text box has value on gotfocus event of a list box

Status
Not open for further replies.

kptasteve

Programmer
Nov 2, 2002
43
0
0
US
I have a form that has a multiselect list box and takes the values from this list box and places it in a text box. However, when I come back to the form it erases out the values in the text box because (I think) there are no values selected in the list box, and it is re-running the on gotfocus event; I want to come into the form and check to see if there are values in the text box, and if there are; not to set them = to the value of the multiple list box, but if the text box is null to allow the multiselect list box to provide the values.



Steve Marcum PT
Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top