Quick Report in Expression i have wrote following

Quick Report in Expression i have wrote following

"IF(Query1.Field=1,P,A)" (Field is Integer)

ERROR: Unknown Function P

What could be the Issue ??

Using Delphi XE8 with QuickReport

Comments

  1. The value P is expected to be a function and that function is unknown?

    ReplyDelete
  2. You can do that way: "if (Query1.Field.AsString[1] in [1,'P','A']) then".

    ReplyDelete

Post a Comment