Data Refresh Problem Solved
For those having labelling and refreshing problems with data report. This worked. For those who have problems with subtotals on data report, I have posted a tutorial on that one somewhere. I think it was laballed Data Report subtotal tutorial.
God bless,
Alvin
Philippines
Thanks to the forums.
'dynamic labelling of data report
With RecvRep.Sections("Section4")
.Controls("lblDateF").Caption = frmRecvRep.txtFrom
.Controls("lblDateT").Caption = frmRecvRep.txtTo
End With
'Receiving is the data environment
Receiving.rsRecvSub.Requery
RecvRep.Show
RecvRep.Refresh