Vince Teachout wrote:
> Assume empty database Moo, and database Quack with one table.
> The one table has a long filename, table comments, and some data.
> 
> Is there a simple way to move the table from Quack to Moo, without 
> losing any of the extended table attributes?
> 
> The "obvious" method of dragging the table from one Database to another 
> in developer mode doesn't work.
> 
> Any ideas?  Thanks!

It is messy, because the database has plenty of references to the table, and 
the 
table has a backreference to the database name.

If it were me, and lacking anything else more insightful, I'd try:

0) close VFP, do all of this outside of VFP

1) backup both table and db files (duh)

2) rename database "Quack" to "Moo" (move quack.dbc moo.dbc; move quack.dbt 
moo.dbt; etc)

3) open table.dbf in a hexeditor and search for the backreference to quack.dbf 
(should be in the headers somewhere). Change to moo.dbf, terminating with 
chr(0)'s.

4) open VFP and try opening the database and table.


Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to