M
Michael Johnston
I'm just learning Access on my own, and something has me puzzled about
masks.
If I want the ZIP code field to show as either
12345 or
12345-6789 depending on whether the user enters
5 or 9 characters
I get a display of
12345- when only 5 characters are entered.
The mask I'm using is 00000\-9999;;" " and it works fine except that the
5-character ZIPs look funny with that trailing hyphen. The hyphen should
show only when a 9-character ZIP is used.
How do you suppress the "-" for 5 digit ZIPs? And BTW, I'm not really
interested in using 2 fields for each part, but if that's the only way,
I will.
Cheers!
Michael
masks.
If I want the ZIP code field to show as either
12345 or
12345-6789 depending on whether the user enters
5 or 9 characters
I get a display of
12345- when only 5 characters are entered.
The mask I'm using is 00000\-9999;;" " and it works fine except that the
5-character ZIPs look funny with that trailing hyphen. The hyphen should
show only when a 9-character ZIP is used.
How do you suppress the "-" for 5 digit ZIPs? And BTW, I'm not really
interested in using 2 fields for each part, but if that's the only way,
I will.
Cheers!
Michael