I have a table (dbf) and I need to create a new dbf but the structure has to be the same as the first table.
Is there a way to do this easily but the new table has to be empty, I don't need the records from the first table.
I want to create the new table and save it on a specified location.
But this table has the same structure (columns) as an other table, so I need to know if there is an easy way to copy the structure of this table to a new one.
I'm not so sure about DBase, but that code above DOES work (in MSSQL) to create an table with the same structure without rows. Though I haven't tried this with a DBase table (my DBase experience is limited to importing data to MSSQL using .NET).
As for saving it in a specified location - that is another matter altogether and something outside my knowledge of DBase.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.