VBA Sql, dictionary & array Combine dbf file in access multi map drive path

roykana

Active Member
Joined
Mar 8, 2018
Messages
311
Office Version
  1. 2010
Platform
  1. Windows
Dear all master,
I want to merge multiple dbf file drive folders into one with access, sql and vba scripting.dictionary & array

because of thousands of data records.
the map drive that I mean is as follows :
Z:\DATA\Malfin 07\NOW\IFG.DBF
Z:\DATA\Malfin 07\NOW\GSD.DBF
Z:\DATA\Malfin 07\NOW\GPD.DBF
Z:\DATA\Malfin 07\NOW\RSD.DBF
Z:\DATA\Malfin 07\NOW\RPD.DBF
Z:\DATA\Malfin 07\NOW\GSG.DBF
Z:\DATA\Malfin 07\NOW\GPG.DBF
Z:\DATA\Malfin 07\NOW\RSG.DBF
Z:\DATA\Malfin 07\NOW\RPG.DBF
with add custom column with replace "M07"

Z:\DATA\Malfin 18\NOW\IFG.DBF
Z:\DATA\Malfin 18\NOW\GSD.DBF
Z:\DATA\Malfin 18\NOW\GPD.DBF
Z:\DATA\Malfin 18\NOW\RSD.DBF
Z:\DATA\Malfin 18\NOW\RPD.DBF
Z:\DATA\Malfin 18\NOW\GSG.DBF
Z:\DATA\Malfin 18\NOW\GPG.DBF
Z:\DATA\Malfin 18\NOW\RSG.DBF
Z:\DATA\Malfin 18\NOW\RPG.DBF
with add custom column with replace "M18"

Z:\DATA\Malfin D2\NOW\IFG.DBF
Z:\DATA\Malfin D2\NOW\GSD.DBF
Z:\DATA\Malfin D2\NOW\GPD.DBF
Z:\DATA\Malfin D2\NOW\RSD.DBF
Z:\DATA\Malfin D2\NOW\RPD.DBF
Z:\DATA\Malfin D2\NOW\GSG.DBF
Z:\DATA\Malfin D2\NOW\GPG.DBF
Z:\DATA\Malfin D2\NOW\RSG.DBF
Z:\DATA\Malfin D2\NOW\RPG.DBF
with add custom column with replace "MD2"

V:\NOW\IFG.DBF
V:\NOW\GSD.DBF
V:\NOW\GPD.DBF
V:\NOW\RSD.DBF
V:\NOW\RPD.DBF
V:\NOW\GSG.DBF
V:\NOW\GPG.DBF
V:\NOW\RSG.DBF
V:\NOW\RPG.DBF
with add custom column with replace "BOJ"


combination table names :
IFGALL
GSDALL
GSGALL
GPDALL
GPGALL
RPDALL
RPGALL
RSDALL
RSGALL


Thanks
Roykana
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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