As an absolute beginner with reports in VB6 I have a Data Environment pulling from an Access2007 database. I also have a date report that prints fine but I'm trying to place a caption into a label based upon the value of a text field in the detail section. My problem is I don't know when to do it, I'm trying in DataReport_Initialize event and I don't know how to reference the text field. I've tried
ReportName.Sections.Item(3).Controls("FieldName")
but I receive an error "Object doesnt support this method. Any guidance is appreciated.
ReportName.Sections.Item(3).Controls("FieldName")
but I receive an error "Object doesnt support this method. Any guidance is appreciated.