FIX: Can't Select Beginning and End Pages in Print Dialog

Last reviewed: October 20, 1997
Article ID: Q130089
3.00 WINDOWS kbprint kbcode kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0

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 reference words: 3.00 print report page selection
VFoxWin fixlist3.00b buglist3.00
KBCategory: kbprint kbcode kbfixlist kbbuglist
KBSubcategory: FxotherGeneral
Keywords : FxotherGeneral kbbuglist kbcode kbfixlist kbprint
Version : 3.00
Platform : WINDOWS
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.