Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem with RB 10.08?

edited May 2008 in RAP
Hi,

In version 10.07 the following RAP-function worked perfectly. But since
10.08 I get an error that a value Null can't be converted into Double.

procedure TijdenOnPrint;
var HoofdRapport : TppReport;
begin
HoofdRapport := TppReport(Report.MainReport);
If Trunc(FacturenUITDetails['Datum']) = 0 then
Tijden.Visible := False
else
Tijden.Visible := HoofdRapport.Parameters['cbToonTijden'];
end;

I know for certain that FacturenUITDetails['Datum'] contains a date.
Also the cbToonTijden has an assigned value of True.

Did anything change since 10.08?

Regards,
Stef
This discussion has been closed.