473,795 Members | 3,231 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2533
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(add ress2),city,add ress2)
=iif(isnull(add ress2),"",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
6219
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 make it better soon. Unfortunately, there is never a non-crucial time in which we can do an upgrade, so we are stuck for now. Point 1: There are multiple tables: students, courses, cross-reference
19
6934
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 JavaScript in this code from a couple different sites but I'm not 100% sure what each line is doing...This is the ASP code that I'm using for the page....Take a look at the JavaScript code and please let me know what each line is doing....I have been...
2
2506
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 function works great. However, I sometimes have a problem with the last text line. Often the last line is just below the end of the field and to view that line I have to scroll to it. Is that a known problem? And is there a solution?
3
1617
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..... Any way I can do this? I know I cannot use 'can grow' as I do with text boxes. any help appreciated. andy
1
8365
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 with the correct position, but it's size is identical to the size of the "ungrown" text box on the report. I need to create the text box in Word the same size as the grown text box on the report. So, in Design view the report has a text box...
2
3996
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 blank fields, so each section of the report is the same size, my field is set to can grow/shrink, but I think my inclusion in the code for the calculated box of all 15 outcomes (I have no choice) is what's causing each calculated box to be the...
3
3292
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 configure all textboxes to follow the same height of their tallest peer in the same record? TIA! http://eenergy.myweb.hinet.net/CanGrow.gif
16
11137
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 know one way or the other whether that was true or not, or could point me to an article or help text that would. What I have seen so far online and in Access 2007 help seems to confirm the above. But that (or at least (b)) seems incredible that it...
1
2652
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 been easy to resolve but just doesn't seem to work for me ... The original application includes a form page for editing the details of an "item". In my case the item is a comicbook. The page functions just fine as long as I stick with text fields, but I...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9037
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.