how would I do that?
I was of this thinking as well - but how do I do it?Crosstabs are read only, period.
If you want to add information to the crosstab you have to use subforms and what not to accomidate for it.
create a form to open first. Use unbound text boxes and then set the control sources of the text boxes on the report to refer to the form text boxes. Aslong as the form remains open when you open/print the report it will display that info.
I don't know if it will work but you could try adding this to the After Update event (in the VBA window) of the text box on the form:
Code:Reports!YourReportNameHere.Requery
Private Sub comments_AfterUpdate()
[B]Application.Echo False[/B]
DoCmd.Close acReport "RptIncidents", acSaveNo
DoCmd.OpenReport "RptIncidents", acViewPreview
[B]Application.Echo True[/B]
End Sub
This works guys thankyou!
Just knit picking now - is it possible to force the form window to be open alongside the report window so they are side by side?
b) In the AfterUpdate property of the form I have added:
boblarson said:...try adding this to the After Update event (in the VBA window) of the text box on the form...