I don't understand, do you have the PM opened while the code is running? Is the DBC included in the project?
Mark
>Thanks Mark, that worked. The only problem I have now is the object name stays in my project manager even though the actual table is removed. If I double click on the table in project manager, it is claim that it cannot find the table in dbc. Is there a way to drop table and get rid of it from project manager in clean way, or do you have a suggestion on getting rid of tables cleaner. Thanks
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.