I am having difficulties on showing minutes difference on report builder. if I have A as datetime value and B and datetime value. what should I use to see the minutes difference on report
If you want whole number of minutes then make it an Integer and change the code slightly...
MinsDiff := ROUND((ToDT - FromDT) / 60000,1);
Also, make sure you are not trying to format the MinsDiff as a Date in your RDLC report layout (Text Box Properties --> Number) - leave this as Default
If you want whole number of minutes then make it an Integer and change the code slightly...
MinsDiff := ROUND((ToDT - FromDT) / 60000,1);
Also, make sure you are not trying to format the MinsDiff as a Date in your RDLC report layout (Text Box Properties --> Number) - leave this as Default
Answers
any ideas?
thanks,
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
If you want whole number of minutes then make it an Integer and change the code slightly...
Also, make sure you are not trying to format the MinsDiff as a Date in your RDLC report layout (Text Box Properties --> Number) - leave this as Default
tried this one, also same error
this code work.
thanks, @Kishorm