On 3 Oct 2006 08:47:51 -0700, Carla wrote:
Ok, in the design mode of the data table on the FORMAT line for the
PostalCode field, I took out the formatting. Trying to put anything in
there was making it worse - even the raw database was now joining the
numbers together if I tried to put 00000\-9999;0; in there or one of
the other suggestions.
Now, in a regular tabular report that I had previously made, my zip
code shows correctly. 99999- if there are no 4 digit extras, and
99999-0000 if there are.
My labels, tho, are now one label per line instead of 3 across, and the
numbers are still joined together.
In the design of the label it looks like this:
=Trim ([FirstName] & " " & [LastName])
=Trim([Address])
=Trim([City] & "" [State] & "" & [PostalCode]
The zip code in this label report is not showing a hyphen. I even
redid it to be sure. The zip code is run together with no hyphen. :(
To get the label report to show the zip code properly, where do I put
the formatting commands?
Always include the relevant part of any previous post when replying.
It makes it easier for someone to reply, as the previous message is
right in front of them.
There is no need to format the data in the table, as no one should be
looking at the table anyway.
In the report .......
Leave the Format PROPERTY of the control blank.
Use an UNBOUND control.
Set it's Control Source to:
=[City] & ", " [State] & " " &
IIf(Len([PostalCode])>6,Left([PostalCode],5) & "-" &
Right([PostalCode,4),Left([PostalCode],5))
** Note: I've added a comma and space after the City and a Space after
the State i.e. Omaha, NE 12345-6985
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail