One of my tables which I have been successfully PACKing for over 10 years is now refusing to PACK. When I run the following code, either in the COMMAND window, or in a program, I get the error message, "File already exists."
When I look in the directory where the table resides, I see a temporary file which I assume is the new packed file. It appears to me that for some reason the old file is not getting deleted so that the new file can be renamed to the original file name.
Except for the PACKing problem, this table works fine. It just keeps getting larger because of the files marked for deletion.
Can anyone tell me how to solve this PACKing problem? I have tried everything that I can think of short of writing a short program to manually pack the table. I don't have this problem with any other table.
I believe I have all of the above correct, as I am doing this from memory. I was going to post this from work where I could copy/paste it, but when I went to submit it, there were no SUBMIT nor PREVIEW buttons. Never had that problem in the past, so something has changed somewhere.
mmerlinn
Poor people do not hire employees. If you soak the rich, who are you going to work for?
"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond
[tt]CLOSE DATA[/tt]
[tt]USE partinfo EXCLUSIVELY[/tt]
[tt]PACK <<< I get the error on this line[/tt]
[tt]USE[/tt]
[tt]USE partinfo EXCLUSIVELY[/tt]
[tt]PACK <<< I get the error on this line[/tt]
[tt]USE[/tt]
When I look in the directory where the table resides, I see a temporary file which I assume is the new packed file. It appears to me that for some reason the old file is not getting deleted so that the new file can be renamed to the original file name.
Except for the PACKing problem, this table works fine. It just keeps getting larger because of the files marked for deletion.
Can anyone tell me how to solve this PACKing problem? I have tried everything that I can think of short of writing a short program to manually pack the table. I don't have this problem with any other table.
I believe I have all of the above correct, as I am doing this from memory. I was going to post this from work where I could copy/paste it, but when I went to submit it, there were no SUBMIT nor PREVIEW buttons. Never had that problem in the past, so something has changed somewhere.
mmerlinn
Poor people do not hire employees. If you soak the rich, who are you going to work for?
"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond