KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

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

Article: Q130089
Product(s): Microsoft FoxPro
Version(s): 3.00
Operating System(s): 
Keyword(s): kbcode
Last Modified: 24-MAR-2000

-------------------------------------------------------------------------------
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 query words: print report page selection VFoxWin fixlist3.00b buglist3.00

======================================================================
Keywords          : kbcode 
Technology        : kbVFPsearch kbAudDeveloper kbVFP300
Version           : 3.00
Issue type        : kbbug
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.

Copyright Microsoft Corporation 1986-2002.