473,667 Members | 2,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report including only days with value > 0

I have a table with rainfall logged on 15 minute intervals. I want to
make a report that shows only those DAYS when there is actually
rainfall, ie if a particular day has any rainfall at all I want to
print all the records for that day.

Can I do this just with a report? Can I do it with a report based on a
query? Do I need to have an intermediate table/query that includes
daily totals?

Any suggestions welcome. Thanks!

Rebecca

Nov 13 '05 #1
1 1185
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can use a query or the report's Filter property or both.

Query example:

SELECT day, sum(rainfall) as rain
FROM table_name
GROUP BY day
HAVING sum(rainfall) > 0

Report Filter (using the above query without the HAVING clause):

Filter: rain > 0
FilterOn: Yes

--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQgkW34echKq OuFEgEQIblACeN0 n42IaXA6ndlr/X3A6vh9byW6EAnR lu
0Cfv2wrdTvp/y3N+3QuA1E0T
=lZHH
-----END PGP SIGNATURE-----
ri**********@gm ail.com wrote:
I have a table with rainfall logged on 15 minute intervals. I want to
make a report that shows only those DAYS when there is actually
rainfall, ie if a particular day has any rainfall at all I want to
print all the records for that day.

Can I do this just with a report? Can I do it with a report based on a
query? Do I need to have an intermediate table/query that includes
daily totals?

Nov 13 '05 #2

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

Similar topics

5
3180
by: Jim Fox | last post by:
I have a report that I created that has no data, just boxes, lines and one date field not tied to anything. Basically this report will just print pages according to the dates you entered. Then according to the day, it will hide certain boxes. Here is the code (BELOW) I've drummed up, but how do I use it to print out a range of pages? THANKS
0
2289
by: David | last post by:
This might be a report question but I think it is more a query issue than a report. I am a novice at bothAccess reporting and queries and have been struggling to build the following. (Note using Access2000) I have three tables (that are part of a different program so I can't change their structure). They are Units, Streams, and _Strms. Units contains info about various units. The fields within Units that I am interested in are ID,...
2
2076
by: dixie | last post by:
I have a report which is printed daily. It is a list of people. A person can be put on this list for one day, which is easyily achieved from a simple form. My problem is that a person can also be put on the list for a number of days. The information that I would then have is the person,s ID, name, the first date they are on the list and the number of days they are on the list. Assuming that the dates are consecutive (although weekends...
3
2731
by: ahaque38 | last post by:
Hello. Using A2K SP3, I am having the following problem with a report using "Sorting and Grouping". I have recently added a grouping in the reports for "Category2<>'CONTRACTS'". I have reports at the plan (overall totals), department and division levels which have sorting and grouping implemented with this new
2
2392
by: Gershon | last post by:
I have a simple table including First Name, Last Name, Start Date. I need to create a report listing First, Last and the number of days since Start Date. The First and Last names are easy. How do I create a report field that calculates the elapsed time ? The intuitive syntax "Date() - ", "Date() - !", and various "datediff" combinations all resulted in errors. Any idea what I am doing wrong ?
9
1773
by: MLH | last post by:
Trouble is, it doesn't happen every time. Yesterday, for example, it happened only once and not again afterward. Some days ago, a similar situation. Today, well - I tried 7 times straight to open the report and each time, A97 shuts down. The seemingly hit 'n miss nature of the error is intriguing. All I've been able to determine is that if I allow the report to be opened from within code using this line... DoCmd.OpenReport...
4
1815
by: ian_gendreau | last post by:
I am writing a database for sales forecasting. All of my entries are in a table, each entry has a Projecting Booking Date. I need to write a report with 4 groupings: 0-30 Days Out 31-60 Days Out 61-90 Days Out Over 90 Days Out How do I set this up in my report? Do I need to write sub-reports for
0
835
by: mike11d11 | last post by:
I'm try to create a report will group one date field several times based on criteria. First group I'm making is a grouping by Client #, second grouping I need to have it give me a count of the date field only if the date is between the current date and 10 days ago. Then the next field I need it to give me the count of the date field if it contains a date more than 10 days ago and less than 20 days ago, and so on till I get to 100 days. ...
2
1480
by: Hexman | last post by:
Hello All, I'm nearing the end of my current project and the users came up with 2 more requests. I'll talk about the first one in this message. I've developed (with much help from this group) a vb.net app and is being put into the users hands this week. I am using Crystal Report X to produce reports. The users now, rather than printing, want them emailed and produced in .pdf format also. So rather than me re-inventing the wheel, I'm...
0
8366
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
8888
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, 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...
1
8565
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,...
0
7391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
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 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...
0
4202
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
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1779
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.