How to use report variables in a calculated field?

I want to pass certain numbers to a report like so:
frVariables:= ElaspsedTime;
frVariables:= GetPersonRate(cboPerson.Text);

Now in the report I have a memo field where I want to use these variables in a calculation like so:
[varTime]*[varPersonRate]

But it doesn't work as it seems to treat the variables as strings instead of numbers. Is what I want to do possible?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:18AM
    Hi Otzi
    check each variable first to make sure your values are passed in correctly,
    if they are
    try
    varTime]*[varPersonRate
    regards ;)

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.