473,441 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,441 software developers and data experts.

zipcode

I have a access data I'm doing a mailing
went into (report) and (labels) put the zipcode
comes out as "123456789" instead of "12345-6789
any idea the (input mask) shows the zip as 12345-6789
sincerely Alex
Nov 30 '05 #1
6 1643
The input mask is by default only for formatting data as it is typed
in. There is an input mask property you can set to store the data with
the mask in place, which will store your zip codes as 12345-6789
instead of 123456789.

Nov 30 '05 #2
GH
Alex,

An input mask is just that, an input mask. Unless you specified in the
table field definition to also store the data with a masked format, the
only time the mask is shown is when you are inputting data into a text
box with an associated mask. To get that masked data in a report, you
need to make sure the mask formatting is attached to the mask property
of the text field bound to the zip code on the report. If you have
already done this, my apologies, as this is the only fix that comes to
my mind.

- GH

Nov 30 '05 #3
sorry. please explain were the input mask that youre
talking about. i'm new to "access"
alex
"Steve" <th*********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
The input mask is by default only for formatting data as it is typed
in. There is an input mask property you can set to store the data with
the mask in place, which will store your zip codes as 12345-6789
instead of 123456789.

Nov 30 '05 #4
The input mask you referred to is either in your table or in your
textbox. It's the same one you mentioned in your original post.

Nov 30 '05 #5
alex wrote:
I have a access data I'm doing a mailing
went into (report) and (labels) put the zipcode
comes out as "123456789" instead of "12345-6789
any idea the (input mask) shows the zip as 12345-6789
sincerely Alex

An input mask is useful for inputting data into a field. When you
define an input mask, you can either keep formatting characters or not.
For example, you might with (555) 555-1212 stored in a table or
5555551212. You can check this out by going into a table (or form),
hitting the ... button on the right of the property sheet for that field.

Then you can format the information the way you want. You need to find
ways to create "custom" formats in help. Look for Format Function and
look at the "see also" links.
Nov 30 '05 #6

alex wrote:
I have a access data I'm doing a mailing
went into (report) and (labels) put the zipcode
comes out as "123456789" instead of "12345-6789
any idea the (input mask) shows the zip as 12345-6789
sincerely Alex

Instead of using a table, use a query to calculate your zip:

NewZip: Left$([YourZip],5) & "-" & Right$([YourZip],4)
If you get this worked out, you could use in an update query, then fix
your input mask to store the "-".

Dec 1 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Irishmaninusa | last post by:
Hi Everyone, I am writing an asp application using US Zipcodes.....I was wondering...apart from the zipcode format being different between Canada and the USA.....is the logic the same....I can't...
8
by: William Morris | last post by:
Looking for a source for data and/or algorithm that would allow me to enter a zipcode and find - in our case - every car dealership that sells, say, Chevy's in that zipcode - if not there, then...
0
by: Jerry Asher | last post by:
I would like to map from GPS coordinates to US Zipcode for US Continental based needs. (Yes, I am excluding perhaps Hawaii and Alaska for now, and I am also assuming that a simple 2D geometry,...
1
Niheel
by: Niheel | last post by:
Can someone post a quick zipcode validation code? If not link me to somewhere i can read up on creating my own. Thnx.
2
by: Patrick Glenn | last post by:
I am looking for an online zip code program / database, that will aloo me at a minimum to be able to type in a zip code, a distance (5mile, 10miles, 50miles, etc) and have the process return back...
2
by: Patrick Glenn | last post by:
I am looking for an online zip code program / database, that will aloo me at a minimum to be able to type in a zip code, a distance (5mile, 10miles, 50miles, etc) and have the process return back...
3
by: Sean | last post by:
Hi there I am new to this and would like to know how to input a postcode/Zipcode I know it goes something like this 00000\-9999 or LL0\-LL3 so this codes will cover numbers as zipcode like this...
2
by: premgrps | last post by:
Hi, I have a database with two tables a) A table of 2 million records with city, zip and associated information (say XYZ) and b) zipcode latitude, longitude table having >40,000 records/zip...
7
by: mfitzgerald | last post by:
Hi, I've got a table of Sale Reps (ID, Name, Address, City, State, Zipcode, etct). I'm trying to create a stored proc that will accept a ZipCode and search for Reps with that ZipCode. If there isn't...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.