Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / February 2008

Tip: Looking for answers? Try searching our database.

Consecutive Date Query Part Deux

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NeonSky - 28 Feb 2008 23:28 GMT
Good Afternoon,

Got a rather complex brain teaser for you. Please review my sample data....

TableA

LNAME        ADDR1          ARRIVAL             DEPARTURE        CODE
Smith         12House         4/29/2008               5/2/2008
AB
Smith         12House         5/2/2008                 5/6/2008
AB      
Smith         12House         5/6/2008                 5/13/2008
AB
Smith         12House         5/13/2008               5/20/2008
AB
Smith         12House         5/5/2008                 5/11/2008
AB
Smith         12House         5/10/2008               5/13/2008
AB
Smith         12House         5/10/2008               5/17/2008
AB

Now please notice that the first 4 rows are part of a sequential set. What I
would like to happen is identify the non sequential records (the last 3) and
have them sent to a "holding table". Anyone up for tackling this beast?
Please take note that the non-sequential sample records purposely fall
within/on the ranges of the arrival/departure dates of the sequential records.
Perhaps the solution is to first pull out the sequential records? That would
work also. Thank you!!!!!!!!
Ron2006 - 29 Feb 2008 13:01 GMT
What are you using to guarentee that you get these records in the same
sequence the next time that you read the records? They are NOT being
sorted by anything visible in the example.

Ron
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.