ID: Q163473
2.60a MACINTOSH kbtool kbbuglist kbfixlist
The information in this article applies to:
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.
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.
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.
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
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
Keywords : kbVFp300bfix FxtoolRwriter FxtoolTransprt kbvfp260abug kbbuglist kbfixlist
Version : 2.60a
Platform : MACINTOSH
Last Reviewed: February 15, 1997