When you export a data definition query or a SQL pass-through query to HTML
format, you may receive the following error message:
Microsoft Access
The command or action 'OutputTo' isn't available now.
You may be in a read-only database or an unconverted database from an
earlier version of Microsoft Access.
The type of object the action applies to isn't currently selected or
isn't in the active view.
Use only those commands and macro actions that are currently available
for this database.
You cannot export data-definition and SQL pass-through queries that do not
return any records to HTML format.
Use only queries that return records when you want to export the results to
HTML format.
For more information about exporting queries to HTML format, click
Microsoft Access Help on the
Help menu, type
export a datasheet to static HTML format in the Office Assistant or the Answer Wizard, and then click
Search to view the topic.