G
GPO
Access 2000 SP3
Hi All,
As a preliminary step to importing a tab delimited text file, I decided I
wanted to have a look at the text in a more general sense (to check for
blank lines, non ASCII chars, commas instead of tabs etc).
I came up with the bright idea of importing each row of text into a single
memo field. To save an import spec for this, I set it to fixed width and set
the width to 32,000. In the import spec form (from the advanced... button of
the text import wizard), if you set file format to fixed width, the
delimiter combobox is disabled, which makes sense. This is where things got
wierd though. If the underlying field delimiter is {tab}(in the disabled
combo box) and you try and import a fixed width file with tabs in it using
DoCmd.TransferText, it still delimits on the tabs! If the underlying field
delimiter is comma and you try and import a fixed width file with tabs in it
using DoCmd.TransferText, it still delimits on the commas! Note that fixed
width has been selected and saved in the spec.
Has anyone else seen this before?
GPO
Hi All,
As a preliminary step to importing a tab delimited text file, I decided I
wanted to have a look at the text in a more general sense (to check for
blank lines, non ASCII chars, commas instead of tabs etc).
I came up with the bright idea of importing each row of text into a single
memo field. To save an import spec for this, I set it to fixed width and set
the width to 32,000. In the import spec form (from the advanced... button of
the text import wizard), if you set file format to fixed width, the
delimiter combobox is disabled, which makes sense. This is where things got
wierd though. If the underlying field delimiter is {tab}(in the disabled
combo box) and you try and import a fixed width file with tabs in it using
DoCmd.TransferText, it still delimits on the tabs! If the underlying field
delimiter is comma and you try and import a fixed width file with tabs in it
using DoCmd.TransferText, it still delimits on the commas! Note that fixed
width has been selected and saved in the spec.
Has anyone else seen this before?
GPO