473,396 Members | 2,010 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,396 software developers and data experts.

Access sub report to remain at a fixed length

418 256MB
I would like my subreport to print/view at a maximum of 20 lines data. If i have only 1 line data I would like the report to show 1 line data and 19 blank lines.

Right now, it's shriking or expanding based on data. If I have 5 lines, it shows 5 lines. How do I make it to show 5 lines data and 15 blank lines.

Any help would be nice. Thanks.
Jun 5 '14 #1

✓ answered by Seth Schrock

Make sure that the Can Grow and Can Shrink properties are set to false on the subreport. This will make it keep its size, however it won't add blank lines. Do you specifically need blank lines, or do you just needs its length set?

7 2588
Seth Schrock
2,965 Expert 2GB
Make sure that the Can Grow and Can Shrink properties are set to false on the subreport. This will make it keep its size, however it won't add blank lines. Do you specifically need blank lines, or do you just needs its length set?
Jun 5 '14 #2
MNNovice
418 256MB
@Seth Schrock
I need its length set. How do I do this once i set the Can grow/shrink to false on a subreport?
Jun 5 '14 #3
Seth Schrock
2,965 Expert 2GB
You can either drag the sizing handle to fit it where you want it, or you can change the height property. Either way, it is a guess and you will just have to play with it until it is the size you want it.
Jun 5 '14 #4
MNNovice
418 256MB
@Seth Schrock
I actually tried this. But it didn't work. Perhaps because I didn't have the can shrink can grow set it to false. I don't know how to do this. When I look at the property screen under format tabs I only see "Auto Resize" Yes/No. Am I looking at the wrong place? Couldn't find an optrion for true/false.. Thanks for your time.
Jun 5 '14 #5
Seth Schrock
2,965 Expert 2GB
You need to have the subreport control highlighted instead the subreport itself. Subreports/subforms are actually contained within a subreport/subform control. So if you click in a gray area outside the report and then click on the subreport, you should see on your property sheet that the selection type is Subform/Subreport. Once you see this, then you should see the Can Grow/Shrink properties almost at the bottom of the format tab.
Jun 5 '14 #6
NeoPa
32,556 Expert Mod 16PB
Long time no see Mareena. Hi.

Don't forget to set post #2 as Best Answer when you find it works for you :-)
Jun 5 '14 #7
MNNovice
418 256MB
@Seth Schrock
Worked great. Thank you for your time.
Jun 9 '14 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

26
by: Adrian Parker | last post by:
I'm using the code below in my project. When I print all of these fixed length string variables, one per line, they strings in questions do not properly pad with 0s. strQuantity prints as " ...
3
by: John B | last post by:
I'm receiving a fixed length string with fixed length fields that I need to break apart. Ideally I'd like to take the string and put it into a Structure and then access the individual fields from...
5
by: David Garamond | last post by:
The MySQL manual recommends that we create a "fixed-length row" if possible, for speed (especially scanning speed). A fixed-length row is a row which is comprised of only fixed-length fields. A...
1
by: Hemant Trivedi | last post by:
Hi I am Hemant Hello to everone Now I want to discuss a problem I am facing in Ms-Access report and I want solution of it can U help me? My Problem is I want to print an invoice through...
9
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo...
1
by: Rick Knospler | last post by:
I am trying to convert a vb6 project to vb.net. The conversion worked for the most part except for the fixed length strings and fixed length string arrays. Bascially the vb6 programmer stored all...
1
by: pdm | last post by:
I think a well known access problem. If you customize the default margins of a report they doesn't remain fixed. The margins jumps back to the default margins for reports (which are sometimes to...
6
by: ssharpjr | last post by:
Hi Guys, I'm new to Python (mostly) and I'm wanting to use it for a new project I'm faced with. I have a machine (PLC) that is dumping its test results into a fixed- length text file. I need...
8
by: iheartvba | last post by:
Hi I am using Access 2007 and am trying to export a query to a fixed length text file. I tried using the following code to export the text file: DoCmd.TransferText acExportFixed, , "qryFFRDeFile",...
11
by: kkshansid | last post by:
i want to print report through vba programming on text file but the problem i find that the data is not of fixed length on report according to data structure length. i want that for detail field of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
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,...
0
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...

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.