FIX: Report Wizard Error # 11 in Getpicture With Long Table Name
ID: Q221616
|
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
- 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.
- 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 kbGrpFox
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug