Microsoft.ACE.OLEDB.12.0
The Microsoft Access DB engine could not find the object 'location'.
Make sure that the object exists and that the name and path of the
object are written correctly, check the network connectivity and contact
your network administrator.
Source : Microsoft Access Database Engine
NativeError: 543884569
Error Source: Microsoft Access Database Engine
Sql State : 3011
FW_OPENRECORDSET(414)
This happens when using the following code repeatedly (and on another piece of code that depend on SqlQuery further on):
- Code: Select all Expand view
- USE locations ALIAS Locations SHARED NEW
DATABASE oDbfP
oDbfP:LOAD()
aLoc:= oDbfP:SqlQuery( "SELECT location" ) //also tried SELECT location FROM location
CLOSE Locations
aLocat:= ARRAY(LEN(aLoc))
FOR i:=1 TO LEN(aLoc)
aLocat[i]:=aLoc[i][1]
NEXT i
The program has been tested in 7 different other computers with OS ranging from Windows XP, Vista, 7, and 8 and works correctly.
Is FW depending on C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACEOLEDB.DLL or any other component that should be registered on the computer to work?