Microsoft KB Archive/283853

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

Article ID: 283853

Article Last Modified on 9/27/2006

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



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.

