list box

srideout2525

Registered User.
Local time
Today, 02:45
Joined
Mar 4, 2003
Messages
81
how can i format a phone number value in a list box? i have a listing of information and one piece of the information set is a phone number. i would like it to displayed formatted. Much like an input mask...!\(999") "000\-0000;;_

and suggestions?
 
Can you format it using the rowsource properties? (by clicking the 3-dot thingee next to the Row Source property line and using either a formula or custom format to display it the way you want?)
 
I'm taking the values from a query and they all apppear in one list. so i can;t format one value in the list. i hope you understand what i mean.
 
Speaking for the simple minds...

Could you not simply choose to have the input mask save the data WITH the formatting? I believe it is an option in the wizard. (although I realize there's probably a good reason not to, which I hope I'll soon learn)
 
i can't seem to format IN the query. I guess I don;t know how.

As for saving the format ..you are right, I remember selecting against that option before, for a reason unknow to me right now, but i recall someone telling me in the past that it wasn;t a good practice.
 
NewField: Format([Fieldname], "(000) 000-0000")

OR

click on the field in query editor
select properties
change its format
 

Users who are viewing this thread

Back
Top Bottom