Question : Queries with .dbf files working on 2 of 4 computers - Access 2000

Good morning,

I am having a problem with running queries on .dbf files with 2 of 4 computers. Here is one of the occurances of the problem upon attempting to delete the contents out of the HAM.dbf file. All computers are running on Access 2000, though the problem XP machine also has Access XP.

'HAMPath is "C:\HAMData\".
'Clear all data out of HAM.dbf

    Dim pqdfDelete As DAO.QueryDef
    Dim pMySQL
   
    Dim dbHAM As DAO.Database
   
    Set dbHAM = OpenDatabase(HAMPath, False, False, "dBase III")   ' Open database.

    pMySQL = "DELETE * FROM HAM"
    Set pqdfDelete = dbHAM.CreateQueryDef("", pMySQL)
    pqdfDelete.Execute
   
This code works fine on two computers, one computer running XP, the other 2000. However, a ME laptop displays the error:
"Could not delete from specified tables"
and a second problem computer running XP displays the error:
"Cannot locate the requested Xbase memo file."

From the working computers, I can manipulate the .dbfs on the problem computers over a network, while the problem computers cannot manipulate the .dbfs on the healthy computers over the network.

Thank you for any help possible.

Paul

Answer : Queries with .dbf files working on 2 of 4 computers - Access 2000

Paul,

  Hard to say if it is a security issue or something else.  I start off first by logging in as admin for the network and see if that helps.  It may be just a security issue.

  If not, then you probably have a difference in JET versions between the machines.  JET 4.0 is up to SP6 now.

  Microsoft has been messing around with the ISAM drivers for the past couple of versions now because of the licensing issues with the Borland Data Engine and this may be affecting you.

  I'd make sure that the two problem machines have the lastes MDAC software and JET SP6 is applied.

Jim.
Random Solutions  
 
programming4us programming4us