Label issues

Sully38

Board Regular
Joined
Mar 9, 2004
Messages
167
I have spent the better part of this AM killing half the rain forrest..Please help.. I am trying to create a label based report which consistently is printing correctly, but then "Prints" a blank sticker.
I believe my problem is that when my query which formats multiple fields into one field it is creating a 255 char field and causing the "overflow" I am using this in my query:
FullName: Format(Trim([firstname] & " " & [Lastname]))
any comments or help is appreciated by both me and the rain forrest..

:rolleyes:
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I believe that your problem is that you're using the Format function which has two arguments: What you'd like formatted and the way that you want it formatted. Example:
Code:
Format([DateField],"Short Date")
Since your second argument is empty, you should be getting at best a Null value and at worst a RunTime error. Try taking it out and just use
Code:
Trim([firstname] & " " & [Lastname])
and see if that works out.
 
Upvote 0
I still end up with a 255 byte field. I dont uderstand it either. I'm combining FName which is 10 chars. and LName which is 15 chars..
 
Upvote 0
Maybe you should use the Trim function on each field and Then pull them together?
Code:
FullName:  Trim([FirstName]) & " " & Trim([LastName])
 
Upvote 0
Problem Solved... It was a faulty driver from the printer manufacturer. I downloaded a new & Improved driver and then it worked like a Champ!!! My brain is safe and the forrest is making a comeback..Thank You for your help, now its time for that lunch I missed...

:coffee:
 
Upvote 0

Forum statistics

Threads
1,221,631
Messages
6,160,942
Members
451,679
Latest member
BlueH1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top