T
tonyflath
Guest
The code I used in Access 97 is included at the end. On Case 3 it would return files with '*.imp' extension. i.e. 'Exportfile.imp'. I converted the database to Access 2000 and now the '*.imp' does not work. I get the following error message: '3027: Cannot Update. Database or Object is read only. Any help is surely appreciated. Thanks.
Code that worked in Access 97:
Set db = CodeDb
Select Case pintFileType
Case 1
strFileType = ".csv"
Case 2
strFileType = ".txt"
Case 3
strFileType = ".imp"
Code that worked in Access 97:
Set db = CodeDb
Select Case pintFileType
Case 1
strFileType = ".csv"
Case 2
strFileType = ".txt"
Case 3
strFileType = ".imp"