问题
   1: 怎样设置fastreport的报表扫描2次?
   2: 怎样根据用户选择的对象给报表中一个文本框赋值?

解决方案 »

  1.   

    1,在报表设置中,两遍报表前的框里打勾
    2,在fastreport中的ongetvalue事件中加入代码
    例:在fastreport设计器中一文本框memo1,它的memo为[var1]
    在事件中写入如下代码:
    if ParName='var1' then
      ParValue=now;  //你要在报表中给他赋的值
      

  2.   

    第二个问题:fastreport.findobject('memo').memo.text:='hello';
    第一题不知是何意?
      

  3.   

    1: File->Report Option->show two..(打勾)