Here's a completely untested pseudo-code suggestion, Mike...

USE lantable
COPY STRUCTURE TO localtable WITH CDX
SELECT lantable
SCAN
  SCATTER FIELDS EXCEPT pkey
  SELECT localtable
  GATHER 
ENDSCAN

rk
-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of MB Software Solutions General Account
Sent: Friday, August 06, 2010 5:05 PM
To: [email protected]
Subject: VFP9SP2 free table copies

Want to copy tables from LAN to LOCAL.  Can't use APPEND FROM because of
auto-incrementing keys.  SELECT * from xLAN into table xLOCAL doesn't give
me the indexes.

Suggestions?  I appear to be having a brain air-biscuit on this late
Friday afternoon.

tia!
--Mike


_______________________________________________
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/df1eef11e586a64fb54a97f22a8bd04418fd689...@ackbwddqh1.artfact.local
** 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