We help IT Professionals succeed at work.

Microsoft Access Error when trying to export DBF file.

143 Views
Last Modified: 2018-09-20
We just upgraded to Office 2013 and I get the following error when I try to export as a DBF file.

"Trouble: Error 2507: The dBase IV type isn't an installed database type or doesn't support he operation you chose.

Option Compare Database
Option Explicit

Function Transfer(vPath)
'1st location file
On Error GoTo TransferError
If IsNull(vPath) Then
    MsgBox "Please enter a path first"
Else
    DoCmd.TransferDatabase acExport, "dBase IV", vPath, acTable, "Location File", "Loc.dbf"
    DoCmd.Echo True, "Loc.dbf Export OK"
    DoCmd.TransferDatabase acExport, "dBase IV", vPath, acTable, "Account File", "Acc.dbf"
    DoCmd.Echo True, "Acc.dbf Export OK"
    DoCmd.TransferDatabase acExport, "dBase IV", vPath, acTable, "Reinsurance File", "Re.dbf"
    DoCmd.Echo True, "Re.dbf Export OK"
    MsgBox "All Exports Ok"
End If
GoTo GracefulExit
TransferError:
If Err = 3010 Then
    MsgBox "File already exists.  Please delete old .dbf files first."
Else
MsgBox "Trouble: " & "Error " & Err & ": " & Error$
End If
GracefulExit:
End Function

Open in new window

Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2018
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
ugh.  Okay, thanks for your help.  Shaking my head.  Although its 2018 and my company is just now upgrading to 2013, so I'll just have to figure something else out.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.