Hello,
I am executing the following command (operator enters the file number to be imported and press a button):
to open a desired CSV (I have 100s of different files) file (generated automatically elsewhere), just realized there is an issue when importing a column named "DATA".
This field contains either numbers 1.0, 0.056 etc. or letters A, or B.
When the import operation takes place this field gets automatically formatted as Numeric, and where a letter value is found displays "#Num!" instead.
The import operation creates a linked table from each file opened, thus making it impossible for me to edit the field and correct the formatting.
If any one has any ideas as to how to correct this or another solution I'd appreciate it so much.
Thank you
I am executing the following command (operator enters the file number to be imported and press a button):
Code:
DoCmd.TransferText TransferType:=acLinkDelim, tableName:="CsvTbl", _
FileName:="E:\Op60\" + MyTbl + Myextension, HasFieldNames:=True
This field contains either numbers 1.0, 0.056 etc. or letters A, or B.
When the import operation takes place this field gets automatically formatted as Numeric, and where a letter value is found displays "#Num!" instead.
The import operation creates a linked table from each file opened, thus making it impossible for me to edit the field and correct the formatting.
If any one has any ideas as to how to correct this or another solution I'd appreciate it so much.
Thank you
Last edited: