Discussion:
update set class / index
(too old to reply)
Frank J. Polan
2008-11-20 21:39:18 UTC
Permalink
I want to make a copy of a dbf file with associated mdx and dbt
files

Update set only seems to create the dbf

Is there an OOP way or do I have to use the old "copy to with
production"

Thanks

Frank Polan
Ken Mayer [dBVIPS]
2008-11-21 02:40:55 UTC
Permalink
Post by Frank J. Polan
I want to make a copy of a dbf file with associated mdx and dbt
files
Update set only seems to create the dbf
Is there an OOP way or do I have to use the old "copy to with
production"
Local SQL:

COPY TABLE ...

Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
http://www.goldenstag.net/dbase
Frank J. Polan
2008-11-21 13:47:16 UTC
Permalink
Ken,

Forgot about Local SQL

Thanks

Frank Polan

On Thu, 20 Nov 2008 18:40:55 -0800, "Ken Mayer [dBVIPS]"
Post by Ken Mayer [dBVIPS]
Post by Frank J. Polan
I want to make a copy of a dbf file with associated mdx and dbt
files
Update set only seems to create the dbf
Is there an OOP way or do I have to use the old "copy to with
production"
COPY TABLE ...
Ken
Frank J. Polan
2008-11-21 13:48:26 UTC
Permalink
Andre

I should have checked the OLH more thoroughly

Thanks

Frank Polan
Post by Frank J. Polan
I want to make a copy of a dbf file with associated mdx and dbt
files
There is a "CopyTable()" method of the database object.
_app.Databases[1].CopyTable("sourcetable.dbf","destinationtable.dbf")
But I cannor remember if it's doing everything right with indexes.
But I would expect so.
*Lysander*
2008-11-21 05:49:46 UTC
Permalink
Post by Frank J. Polan
I want to make a copy of a dbf file with associated mdx and dbt
files
There is a "CopyTable()" method of the database object.

_app.Databases[1].CopyTable("sourcetable.dbf","destinationtable.dbf")


But I cannor remember if it's doing everything right with indexes.
But I would expect so.
Ken Mayer [dBVIPS]
2008-11-21 05:56:27 UTC
Permalink
Post by Frank J. Polan
I want to make a copy of a dbf file with associated mdx and dbt
files
There is a "CopyTable()" method of the database object.
_app.Databases[1].CopyTable("sourcetable.dbf","destinationtable.dbf")
But I cannor remember if it's doing everything right with indexes.
But I would expect so.
Duh. Of course -- forgot that one. Yes, it should handle the indexes and
.dbt file just fine.

Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
http://www.goldenstag.net/dbase
Loading...