FIX: Transporting Report Causes Error Type 11 Messsage

Last reviewed: February 12, 1997
Article ID: Q163473
The information in this article applies to:
  • Microsoft FoxPro for Macintosh, version 2.6a

SYMPTOMS

When you transport a report created in FoxPro 2.6a for Windows that contains a variable name longer than 10 characters, a type 11 error message is reported in FoxPro 2.6a for Macintosh. At the end to the transport process, the following error message appears:

   Sorry, a system error occurred.
   "Microsoft FoxPro"
   error type 11

After you click Restart, the computer may lock up.

This problem does not occur in Visual FoxPro 3.0b for the Macintosh.

RESOLUTION

Open the report in FoxPro 2.6a for Windows and change the length of all variable names to 10 characters or less.

While the Report Writer in FoxPro 2.6a for Windows allows the use of variables with long names, this practice is not recommended. See the article in the REFERENCES section for specific information on problems caused by long variable names.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Visual FoxPro for the Macintosh version 3.0b.

MORE INFORMATION

This error is similar to the one documented in Q119152. However, this error occurs in the transportation process that converts the report to the Macintosh platform. Additionally, unlike the issue documented by Q119152, this issue is not fixed in FoxPro for the Macintosh 2.6a.

For more information about problems with long variable names and reports, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119152
   TITLE     : FIX: FPM Exits to OS w/Report Writer Varname > 10 Chars

   ARTICLE-ID: Q125308
   TITLE     : BUG: GP Fault If Report Variable Name Has More Than 10 Chars

Steps to Reproduce Behavior

  1. In FoxPro for Windows 2.6a, create a quick report based on the Foxhelp.dbf located in the FoxPro home directory.

  2. Click Report and select Variables from the main menu.

  3. Click Add, create a variable called "Verylongname", and set the Value to Store and Initial Value both to 10. This variable name is longer than 10 characters.

  4. Save the report to a floppy disk or a hard disk that can be read by a Macintosh. Close FoxPro 2.6a for Windows.

  5. Copy the report from the floppy disk or the hard drive to the default folder for FoxPro 2.6a for the Macintosh.

  6. Start FoxPro 2.6a for the Macintosh.

  7. In the Command window, type the following command and press Enter:

          MODIFY REPORT  ?
    

  8. Locate the report and open it. When the FoxPro Transporter dialog box appears, click Transport.

  9. The transportation process begins. At some point during the conversion, the error occurs.


KBCategory: kbtool kbbuglist kbfixlist
KBSubcategory: FxtoolTransprt FxtoolRwriter buglist2.60a fixlist3.00b
Additional reference words: 2.60a FoxMac



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: February 12, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.