Bob,
In version 9 code similar to the following would normally suffice.
;==========================================================
var
ansTbl Table
destTbl String
endvar
;substitute your source and destination tables below
destTbl = "your_destination.db"
ansTbl.attach("your_source.db")
if isTable(destTbl) then
if NOT ansTbl.add(destTbl) then
errorShow()
endIf
else
msgStop("Error", "Can't find " + destTbl + ".")
endIf
;==========================================================
I hope that this helps.
Regards
Bystander