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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIf

Status
Not open for further replies.

brbarto

Technical User
Sep 6, 2001
34
I have created a combobox with account numbers. I am having problems, I think, because the numbers (ex 2-70000) have a hyphen. I was never able to get the hyphen displayed in the combobox. Is this possible?? When an account number is selected, then a hyphen will appear on the form. I am using an input mask (0\-00000).
Also, if you start entering a number, the AutoExpand does not work unless I take the hyphen out.

Thanks for any help
 
Im not sure what the problem is but it works just fine over here land of milk and Honey
 
Try making the value a string (CStr function) when you load the combo box and/or enclose it in double quotes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top