Q221616: FIX: Report Wizard Error # 11 in Getpicture With Long Table Name
Article: Q221616
Product(s): Microsoft FoxPro
Version(s): WINDOWS:6.0
Operating System(s):
Keyword(s): kbservicepack kbwizard kbReportWriter kbvfp600 kbvfp600bug kbVS600sp3fix kbGrpDSFox
Last Modified: 20-MAY-1999
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Visual FoxPro for Windows, version 6.0
-------------------------------------------------------------------------------
SYMPTOMS
========
Using the Report Wizard to create a report based on a long table name that is in
a database container causes the following error message to occur:
Error #11 in getpicture (0): Function argument value, type, or count is
invalid.
STATUS
======
Microsoft has confirmed this to be a bug in the Microsoft products listed at the
beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information
about Visual Studio service packs, please see the following articles in the
Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
MORE INFORMATION
================
Steps to Reproduce Behavior
---------------------------
1. Run the following code in the Command window:
CREATE DATABASE TEST
CREATE TABLE "This is a Test" (name C(5), num n(5))
2. From the Tools menu, choose Wizards, and then select Report.
3. In the Wizard Selection dialog box, select Report Wizard.
4. In Step 1 of the Report Wizard, select the table created in step 1.
5. Once all the fields have been transferred into the Selected fields list box,
click the Finish button.
6. In Step 6 of Report Wizard, make sure to select the "Use display setting
stored in the database" check box.
7. Select the Preview button.
RESULTS: The Report Wizard produces the following message:
Error #11 in getpicture (0): Function argument value, type, or count is
invalid.
If the "Use display setting stored in the database" check box is not selected,
the error does not occur.
Additional query words: KBDSE
======================================================================
Keywords : kbservicepack kbwizard kbReportWriter kbvfp600 kbvfp600bug kbVS600sp3fix kbGrpDSFox
Technology : kbVFPsearch kbAudDeveloper kbVFP600
Version : WINDOWS:6.0
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.