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
6 2375 NeoPa 32,569
Recognized Expert Moderator MVP
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.
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
Thanks for the reply, I pretty much am doing just what you say, but was hoping there might be an easier way.
Thanks again.
NeoPa 32,569
Recognized Expert Moderator MVP
@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).
Thank you will try and remember that.
NeoPa 32,569
Recognized Expert Moderator MVP Sign in to post your reply or Sign up for a free account.
Similar topics |
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 Windows apllication. Recently, I bought VS.Net (enterprise edition)
but I have worries about having to spend more money with additional controls
like DataGrid and Report designer...
I would like to receive your opinions about it. My questions...
|
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 based on the value of the items
field.
I have a command button which opens the report in the print option. This
works fine when there is only 1 item.
|
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 object may have been sent to a printer that is unavailable."
Also when I perform the steps using the create report wizard I get "The wizard is unable to create your report."
I would appreciate any assistance you can give me in this regard. ...
|
by: SantyBhi |
last post by:
Plz ,
any one can explain how to create report in c#asp.net without using Crystal Report.
|
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 7$
FT total 6 18$
HD Cindy Surname c.surname@testmail.com
CT ... ... and etc.
| |
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 balance on each of the firstdays)
and outputs something that looks just like it would in Excel, with the account names on the vertical, the firstdays on the horizontal on the top, and the corresponding balances in the area in the middle:
...
|
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 moment when i created a report radio button the resulting report displays all records in database. how can i create report showing just the current record in form?
Your help would be immensely appreciated.
Thanks
Mike
|
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 have a report that uses a query that one of the parameters is "Like ". When report starts the user is prompted: "Enter ClientID:" If user puts from keyboard "ClientID" the command shows a report for the entered value.
I would like to ask if there is...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
|
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...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
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...
| |