Labels

G

Guest

Hi, I hope you all are having a great day. I have a couple of ??? concerning
preparing/printing labels:

1) When I build my labels in a report, is there a way to tell it to wrap a
line on the label if it's too long to print on a single line? I checked
properties of the line that could possibly be too long to fit on a single
line and do not see an option that would allow me to do that.

2) Is there a way to set up a query/report that will allow me to select a
single record from the database and print a page of labels from that record?

Thanks in advance.
 
R

Rick Brandt

Ken said:
Hi, I hope you all are having a great day. I have a couple of ???
concerning preparing/printing labels:

1) When I build my labels in a report, is there a way to tell it to
wrap a line on the label if it's too long to print on a single line?
I checked properties of the line that could possibly be too long to
fit on a single line and do not see an option that would allow me to
do that.

Set CanGrow for that control to yes, but that will almost certainly screw up
your positioning on other labels lower on the page. When a control "grows"
everything below it is "pushed down" the page.
2) Is there a way to set up a query/report that will allow me to
select a single record from the database and print a page of labels
from that record?

You can set the criteria for the query so it only returns a single record or
(more commonly) apply a filter to the report by using the optional WHERE
argument of the OpenReport method.

DoCmd.OpenReport "ReportName",acViewPreview,,"[PrimaryKeyField] = SomeValue"
 
G

Guest

Ken,

As Rick wrote you can set the CanGrow = true and as he said that will change
the alignment for the rest of the labels. You could also set the text box's
height to the height of two lines, this will allow the data to wrap to the
given height. If you do that then the alignment on the rest of the labels
will not be off.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top