Hi Larry
I think it is possible, e.g. Report_Open Event ...
I can't find any code setting TextBox value at present but I actually
changed the Cation on generic Labels in the Detail Section using the
Report_Open Event. Here a tidbit of code in the Open_Event of one of my
Reports:
********
...
If lngRecordCount > 0 Then
intSRptIndex = intSRptIndex + 1
strSRptIndex = Format$(intSRptIndex, "00")
Select Case bytMachPosID
Case fnMachPosID("EXT_C")
.Controls("lblMach" & strSRptIndex).Caption = " Core
Extruder" & _
(" (" + rsBRMachine.Fields("MachModelName").Value + ")")
& " General Settings"
.Controls("srptMach" & strSRptIndex).SourceObject = _
"Report.rsrBestRun_MachineParam_ExtruderCore"
Case fnMachPosID("EXT_S")
.Controls("lblMach" & strSRptIndex).Caption = " Skin
Extruder" & _
(" (" + rsBRMachine.Fields("MachModelName").Value + ")")
& " General Settings"
.Controls("srptMach" & strSRptIndex).SourceObject = _
"Report.rsrBestRun_MachineParam_ExtruderSkin"
Case fnMachPosID("EXT_ST")
.Controls("lblMach" & strSRptIndex).Caption = " Striping
Extruder" & _
(" (" + rsBRMachine.Fields("MachModelName").Value + ")")
& " General Settings"
.Controls("srptMach" & strSRptIndex).SourceObject = _
"Report.rsrBestRun_MachineParam_ExtruderStripe"
End Select
End If
DoEvents
....
********