A
Ambyr via AccessMonster.com
I have a report that is set up as:
CoName SiteNum CallDate DaysBetween
ABC Co 0001 1/15/09
ABC Co 0001 1/19/09
ABC Co 0001 1/26/09
Bob Mac 0020 1/4/09
Bob Mac 0020 1/24/09
What I need this report to do is first verify that the line item above this
line has the same CoName and SiteNum, and if so, put the difference in days
in the DaysBetween column. For example, since there is no entry before the
first line ABC Co, the DaysBetween would be 0, however, on the next line, the
company and site number is the same, so DaysBetween would be 1/19 - 1/15, to
fill in the answer of 4.
Line item 3's DaysBetween would be 7, and the first instance of Bob Mac would
be 0, as the co and site are different in the line above it.
I can not figure out a single way to get this information to appear. Any
ideas? Your assistance is GREATLY appreciated.
CoName SiteNum CallDate DaysBetween
ABC Co 0001 1/15/09
ABC Co 0001 1/19/09
ABC Co 0001 1/26/09
Bob Mac 0020 1/4/09
Bob Mac 0020 1/24/09
What I need this report to do is first verify that the line item above this
line has the same CoName and SiteNum, and if so, put the difference in days
in the DaysBetween column. For example, since there is no entry before the
first line ABC Co, the DaysBetween would be 0, however, on the next line, the
company and site number is the same, so DaysBetween would be 1/19 - 1/15, to
fill in the answer of 4.
Line item 3's DaysBetween would be 7, and the first instance of Bob Mac would
be 0, as the co and site are different in the line above it.
I can not figure out a single way to get this information to appear. Any
ideas? Your assistance is GREATLY appreciated.