Solved

Report Output to TXT loses character format

Posted on 2007-03-26
3
208 Views
Last Modified: 2013-11-28
Here's a tricky question:
I'm working on a database that has a letter formatted in a Japanese font.  This text was copied from Micrsoft Word, formatted in "MS Mincho" font.  It gets copied into labels and text boxes in this letter (report).

If I print this letter from Access, it looks great.  If I export to PDF or RTF, it looks great.  My problem is that my client wants it exported to a TXT file.  When I do that, the japanese text converts to boxes and question marks.

I dont know enough about this to be able to figure out if this is a limitation of the TXT format, or if I'm missing some unicode iso-2022-jp add in or something.  Is there anyone out there who has some ideas?

Thanks,

Ronda
0
Comment
Question by:Ronda-S
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
stevbe earned 500 total points
ID: 18799508
I *think* the default txt format coming out of Access is ansi, which will not handle the extended characters available in unicode. How are you exporting? If you are uing built-in functions we can change that to I/O code to write the file directly and see if you get any better results.

Steve
0
 

Author Comment

by:Ronda-S
ID: 18802920
Thanks for the post, Steve... I am thinking along your lines, that it's an ansi vs unicode sort of thing.
I am meeting with my client on Thursday to finish up some changes, and they are warming up to the idea of outputting to RTF, which would resolve this issue.

I'll reply after the outcome of that meeting, to see if I need that I/O code you are suggesting.

;-) Ronda
0
 

Author Comment

by:Ronda-S
ID: 18839008
Thanks for your input, Steve... we're actually going to output to PDF !   I've been trying to get them to do this for awhile, but they thought it wasn't an "accepted" format in Japan.  They've since changed their minds.

For now, we'll use a driver, and I know how to change the default printer to the PDF driver.
Maybe they'll upgrade to Access 2007, and I can play with the PDF add-in at that time.

;-) Ronda
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now