ACC2000: You Are Prompted to Enter a Parameter Value for the Trim Function While Previewing a Mailing Label Report (283166)
The information in this article applies to:
This article was previously published under Q283166 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
If you originally created a mailing label report with the wizard in Microsoft Access 95 or earlier, and you then open that database in Microsoft Access 2000, when you run the mailing label report, you may see the parameter value dialog box and be prompted to enter a value for the Trim function.
NOTE: This behavior also occurs in Access 2002.
CAUSE
There is a reference missing that was necessary in Microsoft Access 95 or earlier but that is not necessary in Microsoft Access 2000.
RESOLUTION
There are two resolutions for this behavior. If the first resolution does not solve the problem, continue to the second: - Clear the missing references in the Visual Basic Editor. To do so, follow these steps:
- Double-click the mailing label report to open it.
- On the View menu, click Code to open the Visual Basic Editor.
- In the Visual Basic Editor, click References on the Tools menu.
- In the References dialog box, click to clear any reference that begins with the word "MISSING," and then click OK.
- On the File menu, click Save, and then click Close and Return to Microsoft Access.
- Click to select the report, and then click the Print Preview button on the Standard toolbar.
- If you still get the parameter value dialog box, proceed to the second solution.
- Import all the objects from the Access 95 database into a new Access 2000 database. To do so, follow these steps:
- On the File menu, click New.
- Click Database, and then click OK.
- Type a name for the new database, and then click OK.
- On the File menu, point to Get External Data, and then click Import.
- In the Import dialog box, click the Access 95 database, and then click OK.
- In the Import Objects dialog box, click to highlight the objects that you want to import.
NOTE: Be sure to click each tab and select all the items that you want to import. - After you have highlighted all the objects that you want to import, click OK. You should see the items appear in the Access 2000 database.
- Click the Print Preview button on the Standard toolbar.
The report should print preview properly.
REFERENCES
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbprb KB283166 |
---|
|