473,513 Members | 2,409 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 2919
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.comwrote in
news:11**********************@s13g2000cwa.googlegr oups.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
2785
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...
2
5923
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...
6
38272
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...
1
1708
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...
1
7306
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---------------------------------------- |...
7
3458
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...
4
3907
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...
12
3512
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...
2
3641
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...
0
7267
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
7391
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,...
1
7120
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
7542
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...
1
5100
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...
0
4754
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...
0
3247
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...
0
1609
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 ...
0
466
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...

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.