ACC2000: Cannot Export a Report with a Datasheet Form As a Subreport (207489)
The information in this article applies to:
This article was previously published under Q207489 Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
When you try to export a report that contains a form in Datasheet
view as a subreport to another file format such as Text (*.txt), Microsoft Excel (*.xls), or Rich Text Format (*.rtf), you may receive the following message:
The Save As command can't process any subforms contained in your report.
This behavior can occur regardless of the file format to which you output the
report.
RESOLUTION
To work around this behavior, save the datasheet form as a report before you output the main report. To do so, follow these steps:
- In the Database window, click Forms under Objects, and then right-click the form. Click Save As on the menu that appears.
- In the Save Form 'MyForm' To text box, type a name for the subreport (for example, MySubReport), select Report in the As box, and then click OK.
- Open the main report in Design view.
- Right-click the control that contains the datasheet form, and then click Properties to display the Properties sheet, if it is not already visible.
- Click the Data tab, and then change the Source Object from Form.MyForm to
Report.MySubReport, where MyForm is the name of the datasheet form
and MySubReport is the name of the report you saved in step 2.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbprb KB207489 |
---|
|