PSUIVERSON
Technical User
I basically wrote some VBA that emulates the Import wizard in ACCESS 2000. Pretty simple stuff but I've found that some of the .txt files are not parsing correctly and only import as 1 field!?
Is there a way to parse in VBA? Right now I use this simple block to emulate the .txt import. Would i need to write detailed code to look for certain points and break it up and write to .mdb in a loop of some sort?
Current code it import:
DoCmd.TransferText _
TransferType:=acImportDelim, _
tableName:=tblNAME, _
FileName:=filePath, _
HasFieldNames:=fieldHeadings
This was fine but now it's not working that great. Is it the acImportDelim? Should I change that?
Any help would be great...thanks...
Is there a way to parse in VBA? Right now I use this simple block to emulate the .txt import. Would i need to write detailed code to look for certain points and break it up and write to .mdb in a loop of some sort?
Current code it import:
DoCmd.TransferText _
TransferType:=acImportDelim, _
tableName:=tblNAME, _
FileName:=filePath, _
HasFieldNames:=fieldHeadings
This was fine but now it's not working that great. Is it the acImportDelim? Should I change that?
Any help would be great...thanks...