I've answered my own question with another one. I see that specifications
can't used with the Wizard for ADP's, so I'm trying to save one using a
Schema.ini file. But, I can't get past error 31519: "You cannot import this
file."
I suppose I've got a syntax issue. My Schema.ini file contains:
[STOCKR_test.txt]
Format=FixedLength
ColNameHeader=True
MaxScanRows=10
Col1=Location Char Width 4
Col2=Franchise Char Width 4
Col3=StockNo Char Width 16
Col4=RegRank Char Width 2
Col5=stuff Char Width 22
Col6=ParentSS Integer Width 6
I've tried
DoCmd.TransferText acImportFixed, "Schema.ini", "STOCKR_test.txt", False
DoCmd.TransferText acImportFixed, "STOCKR_test.txt", "STOCKR_test.txt",
False
and
DoCmd.TransferText acImportFixed, "STOCKR_test", "STOCKR_test.txt", False
(after changing the 1st line of Schema.ini to "[STOCKR_test]")
but I don't know what else to try.