>Thanks Ed
>
>and congrats on the MVP btw!
>
Thanks.
>>
>>Invalid page fault is caused by a problem moving data between physical memory and the swap file - either a reference to a page in virtual memory that isn't currently valid, an error reading from the swap file, or something similar. If this is Win9x, badly fragmented swap files can cause this to happen and in fact, fragmentation of some drivers and .DLL files as well. The first thing I'd try is to defragment the drive.
>
>
>Will do. But shouldn't be a problem because I use a permanent swap file of 400 mb to improve performance and eliminate fragmentation. (the data files in this exercise are less than 100 mb and my various system monitors show I'm using less than 30% of resources at max)
>
>>
>>Does it bomb out in the same place every time when it crashes?
>
>yes. I've even tried moving code around to see if that influences it and gives me a clue as to what it particularly objects to. No luck.
>
What line of code cause the error?
>I can also add to the symptoms the occasional 'Foxpro Internal Consistency' error which I've had a couple of times after it has NOT crashed in the first fashion!
>
>Harry