Print Page | Close Window


Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
Printed Date: 21 Mar 2019 at 8:51am

Topic: BeginDateEndDateQuery.mdb
Posted By: Roger Carlson
Subject: BeginDateEndDateQuery.mdb
Date Posted: 20 Jan 2011 at 2:26pm
Please consider donating $1 per sample downloaded, - find out why here .
This sample illustrates how to create a  query which displays the BeginDate and EndDate of a range based on a single EffectiveDate stored in the table. 

It is assumed that the Effective Date range of a record spans the time from the Effective date of the current record and the Effective Date of the NEXT record (minus 1).

There are three methods shown here: Using a 1) correlated subquery, 2) DMax domain aggregate function, and 3) LEFT OUTER JOIN. 

Access 2000+ Download: -

Consider donating $1 per sample downloaded," rel="nofollow - find out why here .<

Print Page | Close Window