一个FORM,有一个按钮  
Private  Sub  Command1_Click()  
Dim  Rp  As  DataReport1  
Set  Rp  =  New  DataReport1  
Rp.Show  
End  Sub  
 
然后在DataReport1中有代码如下:  
Private  Sub  DataReport_Activate()  
       DataReport1.Sections("Section1").Controls.Item("label1").Caption  =  gblName  
End  Sub  
 
我这里的  Section1是指细节中的一个标签,这个标签就是一个标签,没有绑定。  
 
我这里要显示的gblName是一个全局的变量值,不是数据库中的字段信息。  
 
请问,我以上代码和思路哪里有问题呢??  
 
谢谢!