The following code works perfectly
If I replace the "acImportFixed" with a string function witht he same value, it fails with an Error 13 Type Mismatch
The strvariable is held in a table and is text in the table.
Anyone got any thoughts on how my piloting is crashing this thing?
Code:
DoCmd.TransferText acImportFixed, strImpSpec, strTable, strPathFile, boolHasFieldNames
If I replace the "acImportFixed" with a string function witht he same value, it fails with an Error 13 Type Mismatch
Code:
DoCmd.TransferText strTextTransfer, strImpSpec, strTable, strPathFile, boolHasFieldNames
The strvariable is held in a table and is text in the table.
Anyone got any thoughts on how my piloting is crashing this thing?