G
Guest
Hi all,
I'm trying to link a csv table where field are separate by semicolons.
The problem is that in the linked table all data are in one field.
This is the code:
Dim tblDef As DAO.TableDef
' Open a Microsoft Jet database to which you will link a table.
Set tblDef = CurrentDb.CreateTableDef(tableName)
tblDef.Connect = "Text;FMT=Delimited;HDR=NO;DATABASE=" & strPath
tblDef.SourceTableName = strFile
CurrentDb.TableDefs.Append tblDef
What's wrong?
I'm using Access 2002 sp2
Any help would be appreciated.
Thank you. Bye.
Valentina
I'm trying to link a csv table where field are separate by semicolons.
The problem is that in the linked table all data are in one field.
This is the code:
Dim tblDef As DAO.TableDef
' Open a Microsoft Jet database to which you will link a table.
Set tblDef = CurrentDb.CreateTableDef(tableName)
tblDef.Connect = "Text;FMT=Delimited;HDR=NO;DATABASE=" & strPath
tblDef.SourceTableName = strFile
CurrentDb.TableDefs.Append tblDef
What's wrong?
I'm using Access 2002 sp2
Any help would be appreciated.
Thank you. Bye.
Valentina