merge multiple tables with Merge_management?

Discussion created by ljcwalston on Aug 23, 2011
Latest reply on Aug 25, 2011 by ljcwalston

Can anyone tell me how to merge multiple dbf tables from the same folder into one large dbf table?  Let's say I have 5 dbf tables with identical schema in the following folder:  "C:\\Data\\Tables".  I've tried listing the tables and using that object as the input, but to no avail. I haven't found much help on other forums as well...

This sounds so simple, but for some reason I can't figure it out:

gp.workspace = "C:\\Data\\Tables"
tablelist = gp.ListTables("*")
gp.Merge_management(tablelist, "C:\\Data\\Tables\\merged.dbf")

Thanks for any input.