borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Help! Calling an Access 2002 Report with vb6)Next Topic (One Crystal report problem) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Formulas
Poster Message
Christine Grundy
Level: Trainee

Registered: 17-01-2005
Posts: 3

icon Formulas

Hi,

I have the following formula:

if {PROBSUMMARYM1.FIX_TIME}>={PROBSUMMARYM1.TARGET_FIX_TIME} then 1 else 0

This sets it to 1 if it takes longer to fix than it should.  I now want to report whether the fix was 0-5 days later, 6-10 days late and so on. How would I do this?

Thanks

Christine

17-01-2005 at 12:51 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Formulas

If I am not mistaking, if you substract one date from another in CR, the result will be number of days... something like

if {PROBSUMMARYM1.FIX_TIME}-{PROBSUMMARYM1.TARGET_FIX_TIME}>5 then 1 else 0


____________________________
If you find the answer helpful, please mark this topic as solved.

18-01-2005 at 08:04 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Formulas
Previous Topic (Help! Calling an Access 2002 Report with vb6)Next Topic (One Crystal report problem) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder