VFP report 
Author Message
 VFP report

Hi,

How do i get vfp report to show in a different window not in the calling
form.
Any idea....

Thanks
Thi



Tue, 06 Sep 2005 06:07:37 GMT  
 VFP report
Hello, Thi!
You wrote  on Fri, 21 Mar 2003 10:07:37 +1200:

 T> How do i get vfp report to show in a different window not in the calling
 T> form.
 T> Any idea....

 T> Thanks
 T> Thi

Thi, you can specify a window name in the REPORT command:

<vfp_help>
REPORT Command:
PREVIEW [[IN] WINDOW WindowName | IN SCREEN]
Displays the report in page preview mode instead of sending the report to
the printer. To print a report, you must issue REPORT with TO PRINTER.
System variables are ignored when you include PREVIEW.

You can include the optional WINDOW or IN WINDOW clause to specify a window
in which the report is previewed. WindowName can be the name of a window
created with DEFINE WINDOW. If you include the WINDOW clause, the preview
assumes the characteristics (title, size, and so on) of the window you
specify with WindowName. If you include the IN WINDOW clause, the report is
previewed in the window you specify with WindowName.

You can include the optional IN SCREEN clause to specify that the report
preview window is contained in the main Visual FoxPro window and cannot be
moved outside it.

You can include the optional NOWAIT clause so that at run time Visual FoxPro
does not wait for the page preview window to be closed before continuing
program execution. Instead, Visual FoxPro continues program execution while
the page preview window is open.

In a distributed application, be sure that the View menu is available. If
the Print Preview toolbar is closed, it cannot be restored unless the View
menu is available.
</vfp_help>

Also, see VFP help on DEFINE WINDOW.
Good luck!
---
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Tue, 06 Sep 2005 14:58:05 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. VFP Reports: How to control the input-source in VFP-Reports

2. Crystal Report vs VFP Report Writer

3. Convert Access Reports to VFP Reports?

4. VFP Report / VFP 6 / Memory Overflow

5. VFP Reports

6. VFP Reports

7. VFP-Reports, passing variables

8. VFP, Reports, Data Environment and Cursors - Help!

9. VFP REPORT question?

10. VFP Report Designer

11. Distribute VFP-Report-Generator?

12. VFP Report Problem

 

 
Powered by phpBB® Forum Software