Microsoft KB Archive/283166

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

Article ID: 283166

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



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 &quot;MISSING,&quot; and then click OK. On the File menu, click Save, and then click Close and Return to Microsoft Access.</li> Click to select the report, and then click the Print Preview button on the Standard toolbar.</li> If you still get the parameter value dialog box, proceed to the second solution.</li></ol> </li> Import all the objects from the Access 95 database into a new Access 2000 database. To do so, follow these steps: <ol style="list-style-type: lower-alpha;"> On the File menu, click New.</li> Click Database, and then click OK.</li> Type a name for the new database, and then click OK.</li> On the File menu, point to Get External Data, and then click Import.</li> In the Import dialog box, click the Access 95 database, and then click OK.</li> 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.</li> 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.</li> Click the Print Preview button on the Standard toolbar. The report should print preview properly.</li></ol> </li></ol>

<div class="moreinformation_section">

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.
 * 1) Open the database in Access 2000, and then click OK to convert the database when you are prompted.
 * 2) Open the mailing label report in print preview.

<div class="references_section">