variables not working?

edited 2:14AM in FastReport 4.0
Hi,

I am passing static data to a report (ver 4.5.45) using:

frxGlobalVariables := User;
frxGlobalVariables := DateToStr(dtpFrom.Date)+' to '+DateToStr(dtpTo.Date);
frxGlobalVariables := tbAppt.Filter;

These are used within a memo on the page header:

TimeSheet Report for [User] [DateRange] [Filter]

It was working in FR2, but in FR4 the above fields are returning empty strings.

Any ideas?

thanks,
Steve
(using Delphi 2007)

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:14AM
    Steve read the programmers manual on creating and working with variables.
    you can create 2 kinds categorized or script.
    secondly you may want to update current veris 4.6.82

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.