Changing the Record Source for a Graph Object in Reports

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have got problems when the report is previewed or printed, the Graph
doesn't display the proper data from its record source, instead it displays
either the data from a prior record or the sample data in the Graph data
sheet.

It seems that I have to add some Visual Basic code to the On Print event of
the section of the report that contains the Graph object.

MY QUESTION: What is the ON PRINT EVENT?? I only know ON OPEN, On Page,
ON Error, ON Close Events on the Report. Can anybody give in input, what
the 'On Print event ' is ??

Thanks
 
The following KB article may be a useful reference, depending on your
circumstances:

http://support.microsoft.com/default.aspx?scid=kb;en-us;209993

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


I have got problems when the report is previewed or printed, the Graph
doesn't display the proper data from its record source, instead it displays
either the data from a prior record or the sample data in the Graph data
sheet.

It seems that I have to add some Visual Basic code to the On Print event of
the section of the report that contains the Graph object.

MY QUESTION: What is the ON PRINT EVENT?? I only know ON OPEN, On Page,
ON Error, ON Close Events on the Report. Can anybody give in input, what
the 'On Print event ' is ??

Thanks
 
It is responding to the Subject of your posting and your difficulty with
setting the Row Source property of the graph, which I am assuming has
something to do with your question regarding the OnPrint event. Otherwise,
your question and the subject of your posting are unrelated.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


Thanks David - but article is not responding to my question.


Friedi
 
My Question was:
What is the event: 'OnPrint' in order to solve my Problem.
Well, now I know the answer:
It is in the report's section - in my case - the Detail Section of the
report.

Best regards
 
Back
Top