Dec 5, 2003 #1 astech Programmer Jul 25, 2000 59 ID Is pack database including pack tables inside ?. How to pack tables in database programaticaly ?. thanks.
Is pack database including pack tables inside ?. How to pack tables in database programaticaly ?. thanks.
Dec 5, 2003 #2 ramani Programmer Mar 15, 2001 4,336 AE Hi astech If you mean PACK DATABASE as a command, I dont think it exists. You can only pack one table at a time with the command {color blue]PACK myTable. To pack all tables in a specific directory, which can be your data directory, follow this link.. Utility to Pack Data Files faq182-1389 Though that is FPD FAQ, it very well applies here. ____________________________________________ ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/When you ask VFP questions, please add VFP version. Upvote 0 Downvote
Hi astech If you mean PACK DATABASE as a command, I dont think it exists. You can only pack one table at a time with the command {color blue]PACK myTable. To pack all tables in a specific directory, which can be your data directory, follow this link.. Utility to Pack Data Files faq182-1389 Though that is FPD FAQ, it very well applies here. ____________________________________________ ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/When you ask VFP questions, please add VFP version.
Dec 5, 2003 #3 cowenby MIS Nov 29, 2003 103 US This is how you pack tables programmatically: USE abc EXCLUSIVE && Open the table exclusively PACK && Removes all records marked for deletion USE IN abc && Closes the table NOTE: There is no way to retrieve deleted records after using PACK. Upvote 0 Downvote
This is how you pack tables programmatically: USE abc EXCLUSIVE && Open the table exclusively PACK && Removes all records marked for deletion USE IN abc && Closes the table NOTE: There is no way to retrieve deleted records after using PACK.
Dec 5, 2003 Thread starter #4 astech Programmer Jul 25, 2000 59 ID thanks mr. Ramani and mr. cowenby Upvote 0 Downvote
Dec 6, 2003 #5 BPeisch Programmer Oct 19, 2003 464 US There is a PACK DATABASE command, but it only does a clean up on the DBC. -BP http://www.peisch.com Upvote 0 Downvote