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

Create one report for Multiple uses

489 256MB
Ok, let's see if I can explain this.
I have a report that can have up to 12 headings, in some cases I wish only to use 6 of the 12 headings.
I could create a additional report for just the 6 headings them I would need to create a report for when I use 7 headings and on up to the max of 12.
I'm wondering if there is a way to use a single report for all the different reports.
I've used the report format to set those columns I don't want to visible = false and that seems to work I have to also move columns around so there isn't a large space left if I eliminate say headings 7 - 12 as there is a total column at the end.
Just wondering is there is a better way.

Just thoughts would be helpful.
Thanks
Sep 10 '17 #1

✓ answered by NeoPa

TBF Tom, that sounds exactly what I would have recommended. Remember, what you're talking about isn't a common or simple idea particularly. Some code to take a number of columns and, from that, set up the .Width, .Left & .Visible properties for each column would make good sense.

6 2367
NeoPa
32,556 Expert Mod 16PB
TBF Tom, that sounds exactly what I would have recommended. Remember, what you're talking about isn't a common or simple idea particularly. Some code to take a number of columns and, from that, set up the .Width, .Left & .Visible properties for each column would make good sense.
Sep 10 '17 #2
PhilOfWalton
1,430 Expert 1GB
If you really get stuck, I use a pretty complex routine which changes the captions and visibility of labels on forms and reports.

I don't intend to go into too much detail as it is too complex to be dealt with on this website, but the basis is a table that holds the names of the forms and reports to be "messed around with" the relevant control names, the control's visibility and alternative captions.


It does not re-position the controls, but that is just a couple of extra field in the table.

At the moment, the reports are "redesigned" depending on the company using them.

You don't explain what affects which headings you want to change.

Phil
Sep 10 '17 #3
CD Tom
489 256MB
Thanks for the reply, I pretty much am doing just what you say, but was hoping there might be an easier way.

Thanks again.
Sep 10 '17 #4
NeoPa
32,556 Expert Mod 16PB
@Tom.
You must know by now that adding new questions to an existing thread is neither allowed nor a good idea. I've moved your new question to a new thread (Extra Page in Report).
Sep 19 '17 #5
CD Tom
489 256MB
Thank you will try and remember that.
Sep 20 '17 #6
NeoPa
32,556 Expert Mod 16PB
: - )
Sep 20 '17 #7

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

Similar topics

2
by: Jean-Claude Bertrand | last post by:
Hello to all .Net programmers! I am a consultant and I create very small application for small enterprise. Most of the time in my application, the number of users is under 5! I still program...
2
by: B Garner | last post by:
Hi all Help please. I would like to automate the printing of a report. The report actually is a single page and prints a label. I would like to be able to print the report multiple times...
1
by: tbehmand | last post by:
Hi I am getting the following message when I click on 'Create report in Design view', does anyone know how to fix this. "There was a problem retrieving printer information for this object. The...
1
by: SantyBhi | last post by:
Plz , any one can explain how to create report in c#asp.net without using Crystal Report.
0
by: bdmir | last post by:
Hello, I have a text file(tab delim) with data and I want to create report. Here is the content of text file: HD John Smith j.smith@testmail.com CT service 1 5$ CT service2 1 6$ CT service3 4...
2
by: Mmmel | last post by:
Hi again! I want to create a report that uses the following fields from my financial database: Accountname (name of the account - there are three) Firstday (Jan 1, Feb 1, etc) Balance (the...
2
by: michael george | last post by:
Hi, I am a recreational user of access and I enjoy making small databases. My question is when I add records to a form i want to create a report on the form currently displayed on screen, at the...
2
by: jakubmakowski | last post by:
Hello, I have a problem with opening the report using a variable from the access form. Suppose I have a form with customer data - one of the fields is called "ClientID" and in the same databese I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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,...

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.