I've been planning to test this, but my home PC is down for the count right now and I can't install Crystal on my work PC.
>
>Thanks, Craig (I think <g>). I installed SP5 and that solved the save problem, but now I have a bigger one: I can no longer preview the report. The veiwer is on the second page of the form pageframe, as you recommend in your book, and this line of code referencing the viewer object
.ReportSource = thisform.oReport
raises this error every time: "OLE error code 0x80000000a: The data necessary to complete this operation is not yet available. Error#:1426 in designform.displayreport."
>I tried moving that code to the Page2.Activate method to eliminate timing issues, and it makes no difference if I make a change in the report and save it before attempting a preview. It also makes no difference if I programmatically reset the data source first or not. If I RUN the same report in a separate preview form, it works as advertised. I can see no differences in the code used there and in the designer form except that the RDC object has the rpt file open.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer