Re: Transfertext enclose number fields in quotes
- From: Piet Linden <pietlinden@xxxxxxxxxxx>
- Date: Tue, 13 Oct 2009 14:54:25 -0700 (PDT)
On Oct 13, 1:07 pm, NancyM <Nan...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
The csv format with quotation marks around each field is a request by a
software vendor who will be importing our data into an Oracle database. Is
there a better method?
thank you.
"Jeff Boyce" wrote:
Nancy
The quotes serve to delimit characters/text. Why do you want quotes around
your numbers?
Assuming that you do not need to use those "numbers" as actual numbers (add,
subtract, ...), create a query and coerce those "numbers" into string
characters, then export from that query. Take a look at Access HELP for the
CStr() function.
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or psuedocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
"NancyM" <Nan...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B90EABFF-6544-4C62-AE9D-91F039B1A33C@xxxxxxxxxxxxxxxx
I am using MS Access 2007. I have query I wish to export in csv format.
I
placed the following code on the form to execute by pressing a button:
strDoc = "Sales"
strExportFile = "C:\ Documents and Settings\UserName\My
Documents\FolderName\Sales.csv
Docmd.TransferText acExportDelim, , strDoc, strExportFile, False
The resulting csv file only encloses text field in double quotes.
How do I get my number fields enclosed in double quotes? I want to use
vba
code in a form so all I have to do is press a button.
Thank you for any help.- Hide quoted text -
- Show quoted text -
Oracle doesn't require quotes around numbers. Dates, I think yes, but
not regular numbers.
.
- Follow-Ups:
- Re: Transfertext enclose number fields in quotes
- From: NancyM
- Re: Transfertext enclose number fields in quotes
- From: NancyM
- Re: Transfertext enclose number fields in quotes
- References:
- Transfertext enclose number fields in quotes
- From: NancyM
- Re: Transfertext enclose number fields in quotes
- From: Jeff Boyce
- Re: Transfertext enclose number fields in quotes
- From: NancyM
- Transfertext enclose number fields in quotes
- Prev by Date: Re: Exporting to a specific worksheet using transferspreadsheet
- Next by Date: Re: How do I synchronize database records
- Previous by thread: Re: Transfertext enclose number fields in quotes
- Next by thread: Re: Transfertext enclose number fields in quotes
- Index(es):
Relevant Pages
|