Want to fill value @ runtimet
Hello friends,
I am using FastReport v2.5 in D7.
I have designed a report, connected a dataset, it is all working nice & fast.
What I need is, I have a placed a tFrMemoView component on to the PageHeader band, need to assign value (for ex. report desc.) to it, how do I do it.
Any help would be great.
Thanks
I am using FastReport v2.5 in D7.
I have designed a report, connected a dataset, it is all working nice & fast.
What I need is, I have a placed a tFrMemoView component on to the PageHeader band, need to assign value (for ex. report desc.) to it, how do I do it.
Any help would be great.
Thanks
Comments
- place a variable reference in the memo: [YOUR_VAR], if You declare it in the dictionary then You can assign a value to it by coding on Delphi level:
frVariables[YOUR_VAR]:=..., this is variant, so any value can be assigned to it. If it is not declared (in the dictionary) then You must provide a value for it in the TFRReport's OnGetValue event handler
- in the TFRReport's OnBeforePrint event handler write the appropriate code:
If If View.Name='...' then ....
- from dialog forms
-etc.
Regards:Alex
I appreciate Ur interest in helping.
Regards.