Export Access Database to DBF file thourgh Macro

gssachin

Board Regular
Joined
Nov 14, 2013
Messages
155
hi,

I m fresher & jst started using Access 2007, How Can I export my Access table in DBF format through macro
In Macro
I selected Trasfer type : Export
Database Type : Microsoft Access
Database Name : C:\NEWJOIN.accdb
Object : Table
Sourch : SNEWJOIN (my table name in my "Newjoin.accdb" file)
Destination : d:\SNEWJOIN.DBF
Structure Only : No

But I m getting error "The Object Name D:\snewjoin.dbf you entered doesn't follow MS Access object-naming rules

Please do the needful.

Thanks & Regards,
Sachin
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Dear Joe4,

Thanks for reply.

I check your link but still I m getting error "Runtime error 3011" - The microsoft access database engine could not find the object "snewjoin"
 
Upvote 0
Bingo I Got solution

I Changed my Details as follow
I selected Trasfer type : Export
Database Type : dBASE IV
Database Name : D:\
Object : Table
Sourch : SNEWJOIN (my table name in my "Newjoin.accdb" file)
Destination : SNEWJOIN.DBF
Structure Only : No

It's work for me
 
Upvote 0

Forum statistics

Threads
1,221,849
Messages
6,162,425
Members
451,765
Latest member
craigvan888

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top