473,471 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Microsoft Access Query Group Question

1 New Member
CaseNumber MinOfDueDate Flag ddid
04229.00.0197 5/21/2016 False 290051
04229.00.0197 5/18/2016 False 290052

I am running a query that groups on the casenumber and gets the minimum date where flag is false but I need the ID included and I cannot do this because the group by instruction on that field causes both records to show. Is there a way to handle this in access. I can't use first or last because the date and ddid order are not in chron order.

HELP!

Thanks

JW
Apr 27 '16 #1
1 1133
Rabbit
12,516 Recognized Expert Moderator MVP
Take the results of that query and join it back to the table.
Apr 29 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

27
by: Chuck Grimsby | last post by:
(Repost, due to lack of submissions...) The Microsoft Access Product Group (the people who build Microsoft Access) want your help! One of the main things we're working on for the near future...
0
by: argniw | last post by:
I have a schedule of annual events that need to occur in different locations throughout the year. Each event has a due date associated with it. I also have an optimal schedule that consolidates...
0
by: shapper | last post by:
Hello, I have the tables content and content_localized in a Microsoft Access database. I created a Query in my Microsoft Access database named "content_SELECT": SELECT...
3
by: wizcode | last post by:
It is possible to create a multiple report in one query, example in the queries you have a 10 records and their is one unique field and in that unique field the query will base and every records have...
1
by: higgy2005 | last post by:
Hi there, I would be very greatful if somebody could help me with my trouble using VBA to code a button on a form. Basically what i want to happen is on the click of the button i want it to...
1
by: svankley | last post by:
I'm inserting into a table, a value every five (5) minutes. How can I query for the min & max 15 minute sustained value for the day? This would be the three lowest & highest contiguous combined...
37
by: Chris Gilpin | last post by:
Hey everybody! This is my first post here, so hopefully I will be able to make it as clear as possible. I have a very large database (over 1,000,000 entries) and my current goal is to find out the...
24
by: goalv | last post by:
Hi friends I am bit new to access , I want to make query for data which has not happened after repeated attempts...can any one help me I have following tables DATE STORE ID DATE...
1
by: Hugh Hethner | last post by:
Hey guys, sorry for not being active on here, just been really busy with work. So, I'm doing my ICT GCSE Project which is a database. It is basically a database containing data for a video game...
5
by: jamil afridi | last post by:
Hello Sir, I have sent u a simple database that i clear my question. Sir the problem is that suppose i have table of 5 column 1st one is S.No the second one is Name and the remaining Three are 3...
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...
1
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...
0
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,...
1
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
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
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.