Using parameter to calculate

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 7:58AM
    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 7:58AM
    apologies for the absent of extra info

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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.