Lets say I have DBase1.mdb file where tables are linked from an sql server and DBase2.mdb where I want the tables from DBase1.mdb be transferred as local table...
I want to accomplish this using vba...and not manually where I copy the tables and paste it to another file getting the data and the structure locally...
I already managed to be able to export linked tables to another file...but the problem the exported tables is also a linked table one...
heres my function...
Function Export2Access()
DoCmd.TransferDatabase transfertype:=acExport, _
databasetype:="Microsoft Access", _
databasename:=FILEPATH, _
ObjectType:=acTable, _
Source:=TABLENAME, _
Destination:=DESTABLENAME, _
structureonly:=False
End Function
Thanks in advance....
I want to accomplish this using vba...and not manually where I copy the tables and paste it to another file getting the data and the structure locally...
I already managed to be able to export linked tables to another file...but the problem the exported tables is also a linked table one...
heres my function...
Function Export2Access()
DoCmd.TransferDatabase transfertype:=acExport, _
databasetype:="Microsoft Access", _
databasename:=FILEPATH, _
ObjectType:=acTable, _
Source:=TABLENAME, _
Destination:=DESTABLENAME, _
structureonly:=False
End Function
Thanks in advance....
