>Is there a way to add a table to a database container (dbc) programaticaly as opposed to visualy ?
Another way is to copy the table (provided it exists already and currently selected) using the COPY command and DATABASE clause.
COPY TO mynewtable WITH CDX DATABASE c:\mytest\mytargetdatabase.dbc
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison