窗口中的button下有这样的语句:if combobox1.text='01#记录表' then 
    tb:='AD01' 
  else if combobox1.text='02#记录表' then 
    tb:='AD02' 
   ............;或者重新赋值:(这样做可以不?)
if combobox1.text='01#记录表' then 
    tb:='AD01'
    tc:='01' 
  else if combobox1.text='02#记录表' then 
    tb:='AD02'
    tc:='02' 
   ............;
请问我怎么才能把AD01、AD02、...或另外做值01、02、...赋值给rave报表中的Datatext做对应显示啊?