Hi,
Your code should be -
Sub grpDesignLabor_BeforePrint
designPrice = Double.Parse(ReportUtilities.ReturnTextBoxValue(rp t, "grpDesignLabor", "txtDesignLabor2"))
ReportUtilities.SetTextBoxValue(rpt, "grpDesignLabor", "TextBox1", designPrice )
End Sub
Don't assign the textbox value (summarized bound value) in format event procedure, do it in the BeforePrint event procedure itself.
FYI- Format event procedure fire/run first then only BeforePrint event procedure will be fired.
Hope it helps.
__________________
Narayana Karthik
|