Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TransferText and the pound sign

Status
Not open for further replies.

pcsmurf

IS-IT--Management
Apr 26, 2002
47
GB
In a module I have the code :

DoCmd.TransferText acExportDelim, , cTablename, cOutFilename, True

The table cTablename has text fields that contains the £ sign. Using the above code the £ sign is converted to a œ symbol.

If I use the Export option within Accesss the £ signs are converted fine.

How can I export the £ sign within the VBA code ?
 
hmmmmmmmmmmmm,

Ms. A. "exports" ASCII text. Regional settings, the following application (where you are viewing the transfered "text") and the font used (by the following application) to view the transfered text will all have some "effect" on the aparent character set.

Within Ms. A. invoke "HELP" and find the toipic:
Controlling international data display formats for a PART of the discussion.

MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Might be worth trying OutputTo instead, which takes the syntax:

Code:
DoCmd.OutputTo objectType, objectName, outputFormat, outputFile, autoStart, templateFile, encoding

So you might have something like this for an Excel export:

Code:
DoCmd.OutputTo acTable, cTablename, acFormatXLS, cOutFilename
[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top