Hello everyone,
I am trying to import Excel worksheet into Access 2003 table. The problem I have is with fields that have mixed data types. It is trying to guess the data type based on the first group of records (depending on how it is set in the registry - in my case the default is 25). For example in ZIP code column the first 25 records may be numeric so it will assign "Double" data type to it, however records further down may be something like
10001-9999 and import of those values would fail.
I set TypeGuessRows in[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Excel] to 0 and it works - now it scans all records to determine the data type. However, each time I invoke import data dialog in Access and select excel file, the default of 25 for TypeGuessRows returns and I have to change it again in the registry.
Is there a way to set it permanently to 0?
Any help with this will be appreciated.