i have written a vba routine to import excel files into a temporary table which is then queried to send the data to various parts of a database
the only thing is that where access sees numeric data i.e. phone numbers it tries to make the data type of that field a number type and i do not wnat these to be number type i want them to be text
i found that you can get round this by creating a 'dummy row' in the first line of the excel file which i then delete from the resulting database table using a query
is there however a way to force the import to treat all data as text so i don't need to use this fudge?
the only thing is that where access sees numeric data i.e. phone numbers it tries to make the data type of that field a number type and i do not wnat these to be number type i want them to be text
i found that you can get round this by creating a 'dummy row' in the first line of the excel file which i then delete from the resulting database table using a query
is there however a way to force the import to treat all data as text so i don't need to use this fudge?