The Basics

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
NewbieNUTTS
Posts: 1
Joined: Tue 30 Jun 2015 14:39

The Basics

Post by NewbieNUTTS » Tue 30 Jun 2015 14:44

Hi, had a very short course on a report builder tool we use the other week.
I've been told it uses Delphi code.
On a variable in Calcs I have this:
if ReportWizardQuery['npmAttendDate'] > CurrentDate
then dbtext8.font.color:= clred
else dbtext8.font.color:= clblack

Yet all I get is this: Error: Variable1Oncalc, Line 1:Expected: 'then' or 'xor', but found 'end' instead

Please help an idiot....

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: The Basics

Post by azyk » Wed 01 Jul 2015 08:52

This question is not related to UniDAC functionality. To find the answer to this question, please refer to the Report Builder documentation or forward it to Report Builder developers.

Post Reply