I get this error when trying to run the following statement.
Error:
Run-time error '-2147467259 (80004005)':
Selected collating sequence not supported by the operating system
Statement:
rs.Open "SELECT " & FieldsToCount & " FROM " & FileName & " ORDER BY " & FieldsToCount, conn, adOpenDynamic, adLockOptimistic
Connection:
With conn
.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Path & ";Extended Properties=dBASE IV;User ID=Admin;Password="
End With
If I run the code initially in the IDE it gives the error but if click debug and run it again it works fine. Anyone have any insight?
Swi
Error:
Run-time error '-2147467259 (80004005)':
Selected collating sequence not supported by the operating system
Statement:
rs.Open "SELECT " & FieldsToCount & " FROM " & FileName & " ORDER BY " & FieldsToCount, conn, adOpenDynamic, adLockOptimistic
Connection:
With conn
.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Path & ";Extended Properties=dBASE IV;User ID=Admin;Password="
End With
If I run the code initially in the IDE it gives the error but if click debug and run it again it works fine. Anyone have any insight?
Swi