Thanks Cathy, I understand that, but should the preview window appear immediately after I issue the first "report form" line in the command window? I thought it was supposed to wait for the next report in the chain.
Eyvind.
>You should see the first page of the first report in the preview. As you navigate through the pages in the preview, you should start seeing the second report as soon as you are past the last page of the first report. There is no visual cue in the preview that you have switched from report one to report two.
>
>Cathy
>
>
>
>>According to the article "Visual Foxpro 9.0 Report Writer in Action" (can be found here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen9/html/VFP9Reports2.asp), the following should work in vfp 9:
>>
>>
>>#define ListenerPreview 1
>>REPORT FORM Report1 OBJECT TYPE ListenerPreview NOPAGEEJECT
>>REPORT FORM Report2 OBJECT TYPE ListenerPreview NORESET
>>
>>
>>The idea is that the preview should show the two reports as one in the preview window. However, when I try it, the first report is immediately displayed. Is this the correct behavior? In that case, I guess the article is just wrong?
>>
>>Regards,
>>
>>Eyvind.