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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I date span fields 1

Status
Not open for further replies.

vb6rookie

Technical User
Oct 10, 2001
7
0
0
US
I want to create a report where the data from one field is from the previous days data and the rest of the fields from the table are for the curent day, in a drill down report

I.e. Begin + received + Transfers - end = usage
Yesterday + current+current - current = formula
 
Can you define who goes into these four categories, using your data values?

Begin
received
Transfers
end Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Thanks for the response. In the drill down report imight have the following data:
date begin in rec end
1/1/2001 100 5 0 100
1/2/2001 201 0 0 201
1/3/2001 125 0 2 125

What i need to display is
1/2/2001 100 0 0 201
1/3/2001 201 0 2 125
I cannot figure out how to make the 2nd column go back to the previous record date
 
I am not sure that I follow, but you can write a formula using the Previous() function to get the value of a field from the previous record. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Thank you
I bet the previous function will do the trick
Thanks!

:-D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top