File Format & Compatibility

How to Preserve Quotation Marks When Exporting Access Query Results

Bushra ParveenBushra Parveen Nov 2, 2026 868 views

Question details

Users need to prevent quotation marks from being altered, duplicated, or converted into typographic quotes when moving query results from Microsoft Access into a text file.

How to Preserve Quotation Marks When Exporting Access Query Results
Product
Microsoft Access
Device & OS
not provided
Scenario
Exporting or copying query results containing single or double quotation marks into a document or text editor.
Observed behavior
Formatted text editors like Word or WordPad automatically change straight quotes to typographic smart quotes, or misinterpret repeated quotation characters when pasting clipboard data from Access.
Before you start

Ensure your query results in Microsoft Access are correctly formatted and save your current database work before initiating a file export to prevent data loss.

Solution 1Recommended

Export the Access Query Directly to a Text File

Bypassing the clipboard by exporting directly from Access to a text file prevents other programs from automatically altering your quotation marks.

1
Select the query

Open your database in Microsoft Access and select the query you want to export from the Navigation Pane.

2
Open the Export wizard

Navigate to the 'External Data' tab on the top ribbon and click on 'Text File' within the Export group.

3
Specify file details

Enter the destination file name and ensure the format is set to a standard text file extension like .txt.

4
Complete the export process

Follow the Export Text Wizard steps, choosing 'Delimited' or 'Fixed Width' as required for your data structure, and finish the export.

Export the Access Query Directly to a Text File
Data Integrity Preserved: Exporting directly preserves the exact string characters, including straight single and double quotation marks, without applying unintended typographic formatting.
Free Microsoft Office alternative

Use WPS Office for Reliable Document Formatting

While Microsoft Access handles databases, processing text and data seamlessly is easier with a lightweight, highly compatible office suite. WPS Office offers extensive control over text formatting, allowing you to turn off smart quotes easily and ensure your data documents perform perfectly without unexpected character changes.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Easily disable AutoFormat 'Smart Quotes' in WPS Writer to preserve raw data structures.Lightweight and fast, avoiding the heavy resource usage of standard enterprise office suites.Familiar user interface makes it incredibly easy to transition and manage your documents.
microsoft office alternative - wps office

Frequently Asked Questions

Why do my straight quotes change when pasted into Microsoft Word?

Microsoft Word has an AutoFormat feature called 'Smart Quotes' that automatically replaces standard straight quotation marks with curved or typographic quotes for better visual presentation. This can corrupt raw data strings meant for coding or exact database imports.

Can I turn off smart quotes in standard word processors?

Yes. In most advanced word processors, including Word and WPS Writer, you can disable smart quotes by going to Options > Proofing > AutoCorrect Options, and unchecking the specific option to replace straight quotes with smart quotes as you type.

Why am I seeing extra repeated quotation marks when pasting?

When copying from an Access datasheet, the clipboard may enclose text fields containing quotes or commas with additional double quotes as part of standard CSV/TSV clipboard escaping rules. Exporting directly to a file avoids these clipboard escaping issues entirely.