Microsoft KB Archive/221616

= FIX: Report Wizard Error # 11 in Getpicture With Long Table Name =

Article ID: 221616

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q221616



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 that this is a bug in the Microsoft products that are 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:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed



Steps to Reproduce Behavior
  Run the following code in the Command window: CREATE DATABASE TEST CREATE TABLE "This is a Test" (name C(5), num n(5))  From the Tools menu, choose Wizards, and then select Report. In the Wizard Selection dialog box, select Report Wizard. In Step 1 of the Report Wizard, select the table created in step 1. Once all the fields have been transferred into the Selected fields list box, click the Finish button. In Step 6 of Report Wizard, make sure to select the "Use display setting stored in the database" check box.</li> Select the Preview button.</li></ol>

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: kbbug kbfix kbreportwriter kbwizard kbvs600sp3fix KB221616

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.