N
Nicodemus
Hello all,
I'm desperately trying to export a table to a text file using a schema.ini
file but could not get it working the way I want : no double quotes included.
The Schema.ini file is created automatically
(http://support.microsoft.com/kb/155512) and is saved in the same destination
folder.
The reason for using a schema file rather than an Export Specification is
that there will be more tables in the future for which I don't know the
structure.
I'm googling for 2 days now and still can not find anything to explain why
it fails.
I work with XP professional and Access 2003 SP3
Can someone tell me what I’m doing wrong ?
Thank you for your help.
Nico
My table 'customers' contains :
Name | Gender
Sam | M
Sue | F
After exporting to text file :
"Sam",â€Mâ€
"Sue",â€Fâ€
Wished text format :
Sam,M
Sue,F
my VBA code :
DoCmd.TransferText acExportDelim, , "customers", "C:\temp\test.txt", False
my Schema.ini file (saved in "C:\temp\â€) :
[test.txt]
CharacterSet = ANSI
textDelimiter=none
ColNameHeader = False
Format = CVSDelimited
Col1="Name" char Width 5
Col2="Gender" char Width 1
I'm desperately trying to export a table to a text file using a schema.ini
file but could not get it working the way I want : no double quotes included.
The Schema.ini file is created automatically
(http://support.microsoft.com/kb/155512) and is saved in the same destination
folder.
The reason for using a schema file rather than an Export Specification is
that there will be more tables in the future for which I don't know the
structure.
I'm googling for 2 days now and still can not find anything to explain why
it fails.
I work with XP professional and Access 2003 SP3
Can someone tell me what I’m doing wrong ?
Thank you for your help.
Nico
My table 'customers' contains :
Name | Gender
Sam | M
Sue | F
After exporting to text file :
"Sam",â€Mâ€
"Sue",â€Fâ€
Wished text format :
Sam,M
Sue,F
my VBA code :
DoCmd.TransferText acExportDelim, , "customers", "C:\temp\test.txt", False
my Schema.ini file (saved in "C:\temp\â€) :
[test.txt]
CharacterSet = ANSI
textDelimiter=none
ColNameHeader = False
Format = CVSDelimited
Col1="Name" char Width 5
Col2="Gender" char Width 1