Viewing 15 posts - 31 through 45 (of 84 total)
Solved it via:
IIF(IsNothing(fields!date2.value), "no",
IIF(DateDiff(DateInterval.Day, fields!date1.value, fields!date2.value) >= 0, "no", "yes"))
February 29, 2016 at 3:20 am
Thanks for getting back. I did try CONVERT but had the same problem as above.
However, I've nearly solved the problem by using:
IIF(DateDiff(DateInterval.Day(fields!date1.value, fields!date2.value)>=0, "no", "yes"
However if the date 2 field...
February 29, 2016 at 2:28 am
Thanks for getting back.
I have tried:
WHERE ...
AND ((job.orderdate BETWEEN (@odate1) AND (odate2))
OR (job.completeddate BETWEEN (@odate1) AND (odate2)))
Which nearly works in that it brings through the correct completed total. However...
December 1, 2015 at 4:53 am
I'd added a company logo to the report: its position was affecting the way columns exported. Problem fixed.
October 19, 2015 at 6:53 am
stevenb 14609 (9/2/2015)
September 2, 2015 at 12:32 pm
John Mitchell-245523 (9/2/2015)
CONVERT(varchar(17),MIN(a.orderdue),103)
This has the added advantage that it only has to do the conversion once (on the minimum date) instead...
September 2, 2015 at 12:30 pm
=IIF(Fields.Date.Value = nothing, "No Date Input", CSTR(DateDiff("d",Fields!Date.Value,Now)))
July 15, 2015 at 12:47 pm
Thanks for the reply amd interesting re SSRS: however all of my reports (at the moment) are for a small internal audience: this may of course change in the future....
July 6, 2015 at 11:43 pm
Note that I've just realised I put "1" and "0" in the queries - removing " " makes the sum work fine
July 2, 2015 at 4:25 am
Thanks for the reply: worked very well.
July 1, 2015 at 10:37 am
Dear Jack
Thanks very much for taking the trouble to get back to me. I tried Alvin's solution first, which worked, but yours looks very similar and I'm sure would have...
June 30, 2015 at 10:45 am
Dear Alvin
Thanks, your solution worked perfectly. I wish I could buy you a drink.
June 30, 2015 at 10:43 am
Thanks for the very prompt response: much appreciated.
Sorry to appear feeble, but could you please suggest how I would write the expression as you mention above?
June 30, 2015 at 8:37 am
Dear Alan.B
Yes, I should work towards what you suggested. I daresay the query would run faster as well. Thanks for taking the trouble to reply.
April 2, 2015 at 1:02 am
Viewing 15 posts - 31 through 45 (of 84 total)