Hello,
I have only just joined this website today and am new to Crystal Reports. I need help with creating a report, I need Current week values and Previous week values. I'm stuck.... Can anyone help or point me in the right direction? Sample formulas would really help me... I'm having difficulty in getting my variables to work. This is what I had to retrieve all data:
If {View__All_Bids_for_Export.Status<String>}= "Awarded"; Then ToNumber({View__All_Bids_for_Export.BidTotal<String>})
But I now need to extract the current week, (Week Ending 17th Feb '06 - so a Friday) and previous week, Mon-Fri. I was trying the formula below:
NewVal:= {View__All_Bids_for_Export.Status<String>}= "Awarded";
If NewVal in LastFullWeek Then
ToNumber({View__All_Bids_for_Export.BidTotal<String>})
Else
0;
This doesn't work, and I'm not sure why? This was trying to get the previous week? Not sure if this is correct?
Any help would be really appreciated.
Thank you,
Hayley.
I have only just joined this website today and am new to Crystal Reports. I need help with creating a report, I need Current week values and Previous week values. I'm stuck.... Can anyone help or point me in the right direction? Sample formulas would really help me... I'm having difficulty in getting my variables to work. This is what I had to retrieve all data:
If {View__All_Bids_for_Export.Status<String>}= "Awarded"; Then ToNumber({View__All_Bids_for_Export.BidTotal<String>})
But I now need to extract the current week, (Week Ending 17th Feb '06 - so a Friday) and previous week, Mon-Fri. I was trying the formula below:
NewVal:= {View__All_Bids_for_Export.Status<String>}= "Awarded";
If NewVal in LastFullWeek Then
ToNumber({View__All_Bids_for_Export.BidTotal<String>})
Else
0;
This doesn't work, and I'm not sure why? This was trying to get the previous week? Not sure if this is correct?
Any help would be really appreciated.
Thank you,
Hayley.