473,394 Members | 1,715 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,394 software developers and data experts.

canGrow on text fields - don't want to change size of report though.

Hi,

I have a report, viewable in continuous form. I don't want the size of
the report to change (it should fit address labels on the printer), but
in order to minimise the space between empty fields I shrink the text
boxes, bunch them together and set cangrow to on.

E.g. instead of this:

Some name
Some address

some city

I get this:

Some name
Some address
Some city

But when I set the text fields to grow, it makes my report grow so it
won't fit the spec for the address labels.

Anyone help me here?
Cheers,
Chris

Nov 13 '05 #1
3 2497
Chris
Report to print on an address labels should be created via Access
Report Wizard so that it fits exactly into labels layout you have.
Then, after you have a label size report in design view, draw a text
box of a size desired to contain an address. Control source of the box
will be:
=Trim([ADDRESS_LINE_1] + Chr(13) & Chr(10) + [ADDRESS_LINE_2] +
Chr(13) & Chr(10) + [ADDRESS_LINE_3] + Chr(13) & Chr(10) + ...)
Chr(13) & Chr(10) will cut your address into lines. Usage of sign "+"
will ensure that if a line of address is null, there will be no line.
You have no chance to make a report suitable to print on labels by the
way you described.
Regards.
Galina

Not Me <No***********@here.com> wrote in message news:<cj**********@ucsnew1.ncl.ac.uk>...
Hi,

I have a report, viewable in continuous form. I don't want the size of
the report to change (it should fit address labels on the printer), but
in order to minimise the space between empty fields I shrink the text
boxes, bunch them together and set cangrow to on.

E.g. instead of this:

Some name
Some address

some city

I get this:

Some name
Some address
Some city

But when I set the text fields to grow, it makes my report grow so it
won't fit the spec for the address labels.

Anyone help me here?
Cheers,
Chris

Nov 13 '05 #2
Not Me <No***********@here.com> wrote in message news:<cj**********@ucsnew1.ncl.ac.uk>...
Hi,

I have a report, viewable in continuous form. I don't want the size of
the report to change (it should fit address labels on the printer), but
in order to minimise the space between empty fields I shrink the text
boxes, bunch them together and set cangrow to on.

E.g. instead of this:

Some name
Some address

some city

I get this:

Some name
Some address
Some city

But when I set the text fields to grow, it makes my report grow so it
won't fit the spec for the address labels.

Anyone help me here?
Cheers,
Chris

First make the fields not grow. Then put conditions in some of the
controls - for example.

Name
address1
=iif(isnull(address2),city,address2)
=iif(isnull(address2),"",city)

Hope that makes sense
Pachydermitis
Nov 13 '05 #3
Use the Wizard to create your label, nut make sure that the controls go not
overlap. Blank lines will not be printed.

Try a grid size of 4 * 4 or 5* 5 if there are too many lines for your
lable. Theb do Edit->SelectAll and then Format->SizeToGrid

Phil
"Not Me" <No***********@here.com> wrote in message
news:cj**********@ucsnew1.ncl.ac.uk...
Hi,

I have a report, viewable in continuous form. I don't want the size of
the report to change (it should fit address labels on the printer), but in
order to minimise the space between empty fields I shrink the text boxes,
bunch them together and set cangrow to on.

E.g. instead of this:

Some name
Some address

some city

I get this:

Some name
Some address
Some city

But when I set the text fields to grow, it makes my report grow so it
won't fit the spec for the address labels.

Anyone help me here?
Cheers,
Chris

Nov 13 '05 #4

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

Similar topics

7
by: Rick Caborn | last post by:
Does anyone know of a way to execute sql code from a dynamically built text field? Before beginning, let me state that I know this db architecture is built solely for frustration and I hope to...
19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
2
by: Wally | last post by:
Hi All, I'm using Stephan Lebans' nifty code for automatically resizing text fields to the size required to show (almost) all text in that field (CanGrow3, thanks Stephen!). In general this...
3
by: Andy Warner | last post by:
Hi all, I am generating a report that adds one of two images (or no image at all) depending on query results. I dont want a great big blank space where the image goes, if NO IMAGE is returned........
1
by: Phil Stanton | last post by:
I am trying to create a text box in Word the same height as one on a report and then fill it with text. I can "read" the position of the text box from the report OK and create a text box in Word...
2
by: Olveres | last post by:
Hi, I have managed to work out how to add new lines into a calculated text box. However in this text box some of the outcome fields are empty however when previewing the report it includes the...
3
by: jige | last post by:
All textboxes across the record are set to CanGrow, in the details section of a continuous subform of a report, yet different fields grow to varying heights and messy borders. Is it possible to...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
1
by: peck2000 | last post by:
Related to my earleir post ... this is the same project to re-purpose the Classifieds application in BEGINNING ASP 3.0 (Wrox) to a comicbook database ... This is a brainteaser that should have...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.