ACC2002: A Data Access Page That Is Created from an Unsaved Form or Report Is Unbound (283853)



The information in this article applies to:

  • Microsoft Access 2002

This article was previously published under Q283853
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

SYMPTOMS

If you save a bound form or a bound report as a data access page, you may notice that the resulting page is not bound, and #Name? is displayed in all the bound controls.

CAUSE

The form or the report has not been saved.

RESOLUTION

In order for the page to bind correctly, you must save the form or the report at least once.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

In Microsoft Access 2002, you can save forms or reports to data access pages using XSL Transformations (XSLT). The record source for the form or the report is not passed to the XSLT unless the form or the report is saved first.

Steps to Reproduce the Behavior

  1. Open the sample database Northwind.mdb or the sample project NorthwindCS.adp.
  2. In the Database window, click Forms under Objects, and then click New.
  3. In the New Form dialog box, click AutoForm: Columnar, select Customers in the Choose the table or query where the object's data comes from box, and then click OK.
  4. On the File menu, click Save As.
  5. In the Save As dialog box, click Data Access Page in the As box, and then click OK.
  6. In the New Data Access Page dialog box, click OK to save the page.
Note that when the page opens in Page view, #Name? appears in all of the controls.

REFERENCES

For more information about saving forms or report as data access pages, click Microsoft Access Help on the Help menu, type save an object as a data access page in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Modification Type:MinorLast Reviewed:9/27/2006
Keywords:kbbug kbDAP kbfix KB283853