Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: You Are Prompted to Enter a Parameter Value for the Trim Function While Previewing a Mailing Label Report


View products that this article applies to.

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.

↑ Back to the top


Cause

There is a reference missing that was necessary in Microsoft Access 95 or earlier but that is not necessary in Microsoft Access 2000.

↑ Back to the top


Resolution

There are two resolutions for this behavior. If the first resolution does not solve the problem, continue to the second:

  1. Clear the missing references in the Visual Basic Editor. To do so, follow these steps:
    1. Double-click the mailing label report to open it.
    2. On the View menu, click Code to open the Visual Basic Editor.
    3. In the Visual Basic Editor, click References on the Tools menu.
    4. In the References dialog box, click to clear any reference that begins with the word "MISSING," and then click OK.
    5. On the File menu, click Save, and then click Close and Return to Microsoft Access.
    6. Click to select the report, and then click the Print Preview button on the Standard toolbar.
    7. If you still get the parameter value dialog box, proceed to the second solution.
  2. Import all the objects from the Access 95 database into a new Access 2000 database. To do so, follow these steps:
    1. On the File menu, click New.
    2. Click Database, and then click OK.
    3. Type a name for the new database, and then click OK.
    4. On the File menu, point to Get External Data, and then click Import.
    5. In the Import dialog box, click the Access 95 database, and then click OK.
    6. 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.
    7. 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.
    8. Click the Print Preview button on the Standard toolbar. The report should print preview properly.

↑ Back to the top


More information

Steps to Reproduce the Behavior

  1. Use the Label Wizard to create a mailing label report in Access 95 or earlier.

    NOTE: The Label Wizard is called the Mailing Label Report Wizard in Access 2.0.
  2. Open the database in Access 2000, and then click OK to convert the database when you are prompted.
  3. Open the mailing label report in print preview.

↑ Back to the top


Keywords: KB283166, kbprb

↑ Back to the top

Article Info
Article ID : 283166
Revision : 2
Created on : 6/29/2004
Published on : 6/29/2004
Exists online : False
Views : 316