473,794 Members | 3,056 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print group header on report even if no detail?

LF
Hello,

I have a database with a table of projects and a table of tasks (each
project can have multiple tasks). I have a report that has a group
header for the project name, etc., and then the tasks appear in the
Detail section.

Is it possible to have the project information in the group header show
up on the report even if there are no tasks (i.e., no records in the
Detail) for that project? How would I do that?

Thanks for any help.

Aug 1 '06 #1
4 2931
If you set up the query behind the report properly, it's a pretty
simple request.

LF wrote:
Hello,

I have a database with a table of projects and a table of tasks (each
project can have multiple tasks). I have a report that has a group
header for the project name, etc., and then the tasks appear in the
Detail section.

Is it possible to have the project information in the group header show
up on the report even if there are no tasks (i.e., no records in the
Detail) for that project? How would I do that?

Thanks for any help.
Aug 1 '06 #2
LF
ManningFan,
Forgive my limited knowledge, but how would such a query be structured?
Would I somehow have a record for each project in addition to a record
for each task? Right now my query has a record for each task, but
there aren't separate records for the projects.
Thanks.

ManningFan wrote:
If you set up the query behind the report properly, it's a pretty
simple request.

LF wrote:
Hello,

I have a database with a table of projects and a table of tasks (each
project can have multiple tasks). I have a report that has a group
header for the project name, etc., and then the tasks appear in the
Detail section.

Is it possible to have the project information in the group header show
up on the report even if there are no tasks (i.e., no records in the
Detail) for that project? How would I do that?

Thanks for any help.
Aug 2 '06 #3
EP
May be you need to create a new query. Select those tables, create the
relationship and
double click on the relationship and the options pop up allow you to
select the union way.

LF wrote:
ManningFan,
Forgive my limited knowledge, but how would such a query be structured?
Would I somehow have a record for each project in addition to a record
for each task? Right now my query has a record for each task, but
there aren't separate records for the projects.
Thanks.

ManningFan wrote:
If you set up the query behind the report properly, it's a pretty
simple request.

LF wrote:
Hello,
>
I have a database with a table of projects and a table of tasks (each
project can have multiple tasks). I have a report that has a group
header for the project name, etc., and then the tasks appear in the
Detail section.
>
Is it possible to have the project information in the group header show
up on the report even if there are no tasks (i.e., no records in the
Detail) for that project? How would I do that?
>
Thanks for any help.
Aug 2 '06 #4
"LF" <lf****@gmail.c omwrote in
news:11******** **************@ s13g2000cwa.goo glegroups.com:
ManningFan,
Forgive my limited knowledge, but how would such a query be
structured?
Would I somehow have a record for each project in addition to
a record
for each task? Right now my query has a record for each task,
but there aren't separate records for the projects.
Thanks.
Proper database theory says you have one table that contains
project information, and a separate table that contains task
info, ....
You create a relation between the projects and tasks based on
the project ID which defines the project, and is in the tasks
table as a 'foreign key'.

This way, you get the power of having info related to project,
like start/end dates, manager, customer, only entered once, and
a change like a contract end date change is still visible
against all the tasks.

So you should have a projects table, as well as the tasks table.

You can cheat, however, by making a SELECT DISTINCT type query
to extract each unique project, and use that instead of a table,
for now. just join that query back to the tasks table, setting
to join type to left outer. that's the one that would say select
all records from PROJECTS and only records tfom TASKS where the
Project ID is equal, when you double-click the join line in the
upper pane of the query builder. .

ManningFan wrote:
>If you set up the query behind the report properly, it's a
pretty simple request.

LF wrote:
Hello,

I have a database with a table of projects and a table of
tasks (each project can have multiple tasks). I have a
report that has a group header for the project name, etc.,
and then the tasks appear in the Detail section.

Is it possible to have the project information in the group
header show up on the report even if there are no tasks
(i.e., no records in the Detail) for that project? How
would I do that?

Thanks for any help.


--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Aug 2 '06 #5

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

Similar topics

0
2798
by: Pat S | last post by:
I have a report in which each record is about work booked to be done by my company for a client. Each day of work is represented by one record. The report is grouped by CLIENT -- so each page has a group header with the client's info, and under that a detail of work done or to be done within the date range specified when opening the report. The CLIENT Group footer has totals and other calulated fields...each page is that particular...
2
5937
by: Simone | last post by:
Hello. I am using the code below: ------------------------------------------- Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Section(0).BackColor = vbWhite Then Me.Section(0).BackColor = 15724527 Else Me.Section(0).BackColor = vbWhite End If
6
38291
by: Chuck | last post by:
I have a report with three columns, accross then down, and two groups. Currently the group headers are only one column wide and appear in the left hand column. How can I make the group header be centered accross all columns? Chuck ....
1
1726
by: Mark Richards | last post by:
Hi. I am basically a novice with access. Sorry for the long question, but I can't find a short way to make this clear.... I have a database I created to track service calls for a client with a few dozen buildings across the state. They require a monthly report sorted by location showing all the activity for a given month (**even if there was no activity for a given location**). I have a basic DB structure I copied from the access...
1
7321
by: David Horowitz | last post by:
Hi folks. I need to create a report that has a Group Header that pulls certain data from the Detail section. It's something like this: +--Report---------------------------------------- | +--Group Header---------------------------------- | | Codes: XYZ, XXX, YYY
7
3484
by: itm | last post by:
I have a mail out to send to a group of owners with multiple accounts. I want to limit the number of accounts that print on the first page to 20. I want remaining accounts to print on a second page. Is there a way to accomplish this? Thanks so much for your help!
4
3920
by: DavidB | last post by:
Im not sure if I am missing something obvious here or not so excuse me if this is a DFU question please... I have a report I am working on that includes the following data. Agency Name Vendor Name Contract Number Contract Description Agencies can have (and often do have) multiple contracts. I want my
12
3543
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to print the report three times, but do not know how
2
3660
misscrf
by: misscrf | last post by:
I have a report which is grouped in header and footer. Each report has the page break set on the group footer. Any way I can write code or a macro or something that will print my report to a directory as a PDF, printing each group to its own report, naming such report as it's header with the report name as a pre-fix? i.e. Report1
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
10213
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
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.