>Tracy,
>
>I need to know where I can issue a pack in my application. I am using:
>
>Close all
>USE Mytable
>Pack
>
>I wrote it as program and plugged it into a clean button on one of my forms. The application is saying it can't find the pack.prg program although it is reading another main prgram.
>
>I have to manually delete and pack.
>
>Narrad
Narrad,
When you have a new question, start a new thread, more people will look at it and answer your question.
As for your question of where to put this code. It is a commonly put in as a menu item under utilities or maintenance or help. Many times it is a PRG, that handles all the tables, as well as reindexing.
HTH,
Tracy
Tracy