ACC: How to Export Numeric Data with Quotation Marks and Commas
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
This article was previously published under Q148394
Novice: Requires knowledge of the user interface on single-user computers.
On This Page
SUMMARY
In some cases, you may want to export data to a quotation-mark- and
comma-delimited file, and you may want each value to be surrounded by
quotation marks. By design, Microsoft Access will only place quotation
marks around text values and not numeric values. This article describes a
method that you can use to export data that has all values surrounded by
quotation marks.
To create a comma-delimited file that has quotation marks around each
value, create a new query and export the results of this query. The
following steps describe the process.
In the Database window, click the Query tab and click New. In Microsoft
Access 97 or 7.0, click Design view, and then click OK. (In Microsoft
Access version 2.0, click New Query.)
2.
Add the table or query that you want to export.
3.
Instead of adding the field names to the query grid, use expressions.
These expressions will concatenate quotation marks (ASCII character
number 34) at the beginning and end of each value in a field. Type
these expressions in the Field row of each column in the query grid.
Use the following expressions as guidelines:
Need More Help? Contact a Support professional by E-mail, Online or Phone.
Customer Service For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
Newsgroups Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.