Recent

Author Topic: how to use Lazreport variabels????  (Read 9302 times)

Guest

  • Guest
how to use Lazreport variabels????
« on: May 06, 2006, 12:56:24 am »
Hello all,
I've tried to use lazreport variables, but it show nothing. even after i change their values?

Any idea how to overcome this problem???

thank you in advance.

Anonymous

  • Guest
RE: how to use Lazreport variabels????
« Reply #1 on: May 06, 2006, 10:15:23 am »
how do you tried to assign the variables to the report (ongetvalue?)?

Anonymous

  • Guest
RE: how to use Lazreport variabels????
« Reply #2 on: May 07, 2006, 03:55:08 am »
hello,
I used the following method :

frReport1.Variables.Names['date'] := DateToStr(now);

Thank you in advance.

Anonymous

  • Guest
RE: how to use Lazreport variabels????
« Reply #3 on: May 07, 2006, 11:49:28 am »
1.you can use the build in date function
  place a band and create an object in designer
  in the dialog choose variable-other-date
manual chapter 2.3

2.you can use your own value
  create a userdataset
  connect report to userdataset
 
  place a band in designer
  create a new variable in the variable list (look      at    the manual)
  place object and choose your variable
 
  create an ongetvalue event
  in the ongetvalueevent :
  if parname ='mydate' then
     parvalue := 'my birthday';
  set the userdataset rangeend to recount
  and rangeendcount to 1
manual chapter 6.1

Anonymous

  • Guest
RE: how to use Lazreport variabels????
« Reply #4 on: May 31, 2006, 10:42:52 pm »
Hallo all,
I´ve the same Problem, I've tried to use lazreport variables, but not a Time variables:
frReport1.Variables.Names['PersonN'] := PersonName;  
 
but it show also nothing!
HELP!

 

TinyPortal © 2005-2018