Using the PICTURE "Y" Clause in GET Fields and in Reports

Last reviewed: November 21, 1995
Article ID: Q95245
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

When issuing a GET on a logical field, you can display a "Y" or "N" instead of a ".T." or ".F.". You can also do this when using logical fields in the report writer.

MORE INFORMATION

To display a "Y" or "N" when issuing a GET on a logical field, use the PICTURE "Y" clause. For example:

   @1,1 GET <logical var> PICTURE "Y"

To display a "Y" or "N" in a report in place of a logical field, edit the logical field in the report and place a "Y" (with the quotation marks) in the format option for that field.


Additional reference words: FoxDos FoxWin 2.00 2.50 2.x 2.5a RWriter
KBCategory: kbprg
KBSubcategory: FxtoolRwriter


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: November 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.