G
Grant Meredith
Hi all a friend has approached me with this problem and a
table. The first problem is that the table/database is
built wrong but that cannot be changed since the database
is a national one
TABLE
------------
Record UR Name Start_Date End_Date
-------- ---- -------- ------------ ------------
1 234 Jo 1/3/2002 14/3/2002
2 234 Jo 20/3/2002 23/3/2002
3 234 Jo 3/5/2003 7/3/2003
4 234 Jo 16/6/2003 23/6/2003
so all records here concern the same person, the problem
is on a report you must have a field that calculates the
difference in days between the end of one treatment to
the start of the next. Between say end of record 1 to the
start date of record 2. Are there any ACCESS gurus there
who can help?
I know how to easily calculate the no of days between the
start & end dates of a single record
=DateDiff("d", [Start_Date], [End_Date])
but not on a report between records. ACCESS is not my
point of focus
table. The first problem is that the table/database is
built wrong but that cannot be changed since the database
is a national one
TABLE
------------
Record UR Name Start_Date End_Date
-------- ---- -------- ------------ ------------
1 234 Jo 1/3/2002 14/3/2002
2 234 Jo 20/3/2002 23/3/2002
3 234 Jo 3/5/2003 7/3/2003
4 234 Jo 16/6/2003 23/6/2003
so all records here concern the same person, the problem
is on a report you must have a field that calculates the
difference in days between the end of one treatment to
the start of the next. Between say end of record 1 to the
start date of record 2. Are there any ACCESS gurus there
who can help?
I know how to easily calculate the no of days between the
start & end dates of a single record
=DateDiff("d", [Start_Date], [End_Date])
but not on a report between records. ACCESS is not my
point of focus