Hi there,
I am working in Crystal 8.5, Win XP, but have to save down to 7.0 for our software reports -- RescueNet. I was using DateDiff and this was causing an error -- not in crystal 8.5, but in the RescueNet. So, I used the following formula instead of using DateDiff to get the seconds between two dates:
dateTimeVar AVL := DateTime(Date({Trips.avldate}), Time({Trips.avltime}));
dateTimeVar ATD := DateTime(Date({Trips.atddate}), Time({Trips.atdtime}));
(AVL-ATD)*86400;
Of course, it runs in crystal but it is erroring out in RescueNet with "Not enough arguments".
Could someone tell me if the above formula should run in 7.0? Or are there unrecognizable terms?
Thanks for your help!
I am working in Crystal 8.5, Win XP, but have to save down to 7.0 for our software reports -- RescueNet. I was using DateDiff and this was causing an error -- not in crystal 8.5, but in the RescueNet. So, I used the following formula instead of using DateDiff to get the seconds between two dates:
dateTimeVar AVL := DateTime(Date({Trips.avldate}), Time({Trips.avltime}));
dateTimeVar ATD := DateTime(Date({Trips.atddate}), Time({Trips.atdtime}));
(AVL-ATD)*86400;
Of course, it runs in crystal but it is erroring out in RescueNet with "Not enough arguments".
Could someone tell me if the above formula should run in 7.0? Or are there unrecognizable terms?
Thanks for your help!