I'm trying to do linking automatically through a macro. I'm running into 3 problems though.
1) the file is a .csv file, which does not seem to be supported, if I however change it to a .xls it solves this problem, but I would really like it to work with a .csv file because I'm trying to make it as user-friendly as possible.
2) access is automatically changing the field types (I changed csv to a xls to get this far). It seems to be guessing, the problem is it's messing with some of my formulas, plus I want them all to be text, except for two columns that I want to be numbers.
3) everytime I relink the file it's creating a whole new table, rather than re-writing the one I assigned it in the macro. I assigned it the name tblOBTReports, however, if I run it once it will name it that, running it again will create tblOBTReports2, and so on and so forth. I want it to just re-write over the tblOBTReports that I assigned it.
Is all of the above at all possible? I'm assuming it might be, but not through a macro...
-Nate
1) the file is a .csv file, which does not seem to be supported, if I however change it to a .xls it solves this problem, but I would really like it to work with a .csv file because I'm trying to make it as user-friendly as possible.
2) access is automatically changing the field types (I changed csv to a xls to get this far). It seems to be guessing, the problem is it's messing with some of my formulas, plus I want them all to be text, except for two columns that I want to be numbers.
3) everytime I relink the file it's creating a whole new table, rather than re-writing the one I assigned it in the macro. I assigned it the name tblOBTReports, however, if I run it once it will name it that, running it again will create tblOBTReports2, and so on and so forth. I want it to just re-write over the tblOBTReports that I assigned it.
Is all of the above at all possible? I'm assuming it might be, but not through a macro...
-Nate