>
> Heck, I'd be tempted to do my own ZAP routine before going the DELETE ALL 
> /
> PACK route...
>
> Function myzap
> parameter cTbl2Zap
> LOCAL cDataDir
> cDataDir = addbs(justpath(dbc()))
>
> select (cTbl2Zap)
> copy structure to (cDataDir + cTbl2Zap + "_tmpthing") database (dbc()) 
> with CDX
> DROP TABLE (cTbl2Zap)
> USE (cTbl2Zap + "_tmpthing")
> copy structure to (cDataDir + cTbl2Zap) database (dbc()) with cdx
> drop table (cTbl2Zap + "_tmpthing")
> use (cTbl2Zap)
>
> return
>


Be careful, with this routine you loose the primary key ! (converted in 
candidate key by COPY STRUCTURE) 



_______________________________________________
Post Messages to: ProFox@leafe.com
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/1D95E23D943241099048B0A7D5F84695@MuriellePC
** 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