Using parameter to calculate

edited 12:18PM in FastReport 4.0
Hi all.

I've got a small issue:
In my query I've got a count.
I now want to substract that count from a paramater a user enters into an edit on the dialogpage.
So far i can't seem to get that working.

Anyone got a suggestion??


Greetz,
Jeroen

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:18PM
    since you have provided no info as to where and when you are trying to do this.
    here is a general answer.
    store values in variables an work with them in what ever event you need to.
  • edited 12:18PM
    apologies for the absent of extra info

    the answer was the following:
    [IntToStr(StrToIntdef(parameter.text,0) - <ZeosQuery1."COUNT">)]

Leave a Comment