Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Consecutive Days

Status
Not open for further replies.

bongmarley

Programmer
Oct 21, 2002
74
CA
I am trying to create a report for work attendence but i want to converger consecutive records.

Instead of this
From To #ofDays
01/01/03 01/01/03 1
01/02/03 01/02/03 1

I want this
From To #ofDays
01/01/03 01/02/03 2

Is there a function that will retruieve the record Date from a database annd check for consecutive dates that may help me out with this.
 
You are probably better off posting this question in the forum relating to the DBMS you are using.

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top