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

How do I evaluate the 'Count' for a report header, footer, detail??

I want to print the headers and detail and footer only if Count([Name])
is >= 9.

How do I do this???

I am still searching this newsgroup too.

Thank you,
Tom

Nov 13 '05 #1
3 1199
tlyczko wrote:
I want to print the headers and detail and footer only if Count([Name])
is >= 9.

How do I do this???

I am still searching this newsgroup too.

Thank you,
Tom

Dbl-click on the band to pull up it's property sheet. Maybe in the
OnFormat method you could enter something like
If Count([Name]) < 9 then Cancel = True
You may have to set a counter to inc over a group and reset it when a
new group starts.
Nov 13 '05 #2
That If... method does not work, I tried setting it in code...

I have names of people with dates of events attached to them, I want to
know if more than 9 events are attached to a person, and only print if
that person has 9 or more dates...I may be counting the wrong thing,
and I may be able to do the counting by using two queries, one to count
how many events per name, then a second query to filter out events >=
9, then base the report on the second query...

thank you, tom

Nov 13 '05 #3
tlyczko wrote:
That If... method does not work, I tried setting it in code...

I have names of people with dates of events attached to them, I want to
know if more than 9 events are attached to a person, and only print if
that person has 9 or more dates...I may be counting the wrong thing,
and I may be able to do the counting by using two queries, one to count
how many events per name, then a second query to filter out events >=
9, then base the report on the second query...

thank you, tom

That is the way I'd do it.
Nov 13 '05 #4

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

Similar topics

1
by: Steve Heath | last post by:
I have a query that provides detail for sales transactions meeting certain criteria (date, purchase type, etc.) I am creating a report based on that query, and I want to add a summary section. I...
5
by: Cro | last post by:
Hello Access Developers, I'd like to know if it is possible to perform a count in an expression that defines a control source. My report is based on a query. In my report, I want a text box to...
1
by: Karen | last post by:
I am trying to create an invoice that looks similar to the Peachtree invoice. I set up the page header and detail, but I can't figure out how to make the totals print at the bottom of the page. I...
1
by: fixedpower | last post by:
I have an Access 2000 DB for a financial company. I have the table structure completed, but I am having trouble with the report. Basically, I have a Client tbl, a StockShares tbl, and a...
13
by: Greg | last post by:
Most suggestions on this topic recommend to use a page footer and make it visible only on the last page. My problem is that the footer is half of the height of a page which means the detail would...
1
by: siomay87 | last post by:
please help i have a problem in the ms access reporting, my report have: page header, detail, page footer and report footer In listing "detail section", the number of line is depend on the data...
0
by: retrorocket | last post by:
I've searched and searched, I could really use some suggestions. I have a Crystal Report in report designer that contains a Report Header, a Page Header, and a Detail section. The first page should...
1
by: N06149 | last post by:
I have a report based on a query. I list an Org_Type then Org_Name then the Projects associated with it. Sample of report below: Community Type...
1
by: peterkennett | last post by:
OK, I’m new to all this, so forgive me if I missed some easy answer to this problem! I have a report, which is actually going to be a letter. I had no problem adding my return address, salutation...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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
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...
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...

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.