Knowledge Base

FIX: You cannot select a starting page and an ending page in the Print dialog box in Visual FoxPro for Windows 3.0

Article ID: 130089

Article Last Modified on 2/16/2005


APPLIES TO


This article was previously published under Q130089

SYMPTOMS

When printing a report by using the REPORT FORM <form_name> TO PRINT PROMPT command, the Print dialog box does not present any options for setting beginning and ending pages (that is, a page range). You can set a page range in FoxPro for Windows, version 2.6.

RESOLUTION

To print pages 1-5 of a Visual FoxPro report named Customer that uses Customer table in the Testdata database, follow these steps:

  1. Execute the following commands from the Command Window:
       OPEN DATABASE testdata
       USE customer
       CREATE REPORT customer FROM customer
    							
  2. Create and then run a program that contains this code:
       PRINTJOB
       REPORT FORM customer TO PRINT FOR _pageno <=5
       ENDPRINTJOB
    							

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.

MORE INFORMATION

Steps to Reproduce Problem

Make sure that you have a Customer table in Testdata database and execute the following commands from the Command Window:
OPEN DATABASE testdata
USE customer
CREATE REPORT customer FROM customer
REPORT FORM customer TO PRINTER PROMPT NOCONSOLE
					

Additional query words: print report page selection VFoxWin fixlist3.00b buglist3.00

Keywords: kbbug kbfix kbcode KB130089