This works fine, where rawDemandHistory is an Access table. (demandhistorydata is a variable containing the path to the text data being imported)
I used SSMS to migrate rawDemandHistory to SQL server, renamed it RawDemandHistory1, and linked it to my Access front end
Now, if I try to run
I get "runtime error 3349, numeric field overflow".
Yes, it seems the obvious thing would be that the data types are set up wrong in SQL server. But I've looked at my data... all of it is integers between 0 and 10000, and I've got the data type set to int.
So, any ideas?
DoCmd.TransferText acImport, "demandhistorydataimportspec", "rawDemandHistory", demandhistorydata, False
I used SSMS to migrate rawDemandHistory to SQL server, renamed it RawDemandHistory1, and linked it to my Access front end
Now, if I try to run
DoCmd.TransferText acImport, "demandhistorydataimportspec", "rawDemandHistory1", demandhistorydata, False
I get "runtime error 3349, numeric field overflow".
Yes, it seems the obvious thing would be that the data types are set up wrong in SQL server. But I've looked at my data... all of it is integers between 0 and 10000, and I've got the data type set to int.
So, any ideas?