>I have a modal screen that is tied to an appraiser. Every appraiser has clients related to it. The screen displays the name of appraiser and the related clients. It also displays the available clients which are a seperate list from the related clients. The user can add and remove clients to the appraiser by clicking on the client in available list to add a client or clicking on the selected list to remove the client.
>These lists are made of cursors which are displayed in list boxes. I can add and remove clients for a period of time, but after a while I get an error stating "Internal consistency error". I also get an error stating "Resource Manager Internal Error." I have looked up the later error, I have enough disk space, memory, the VP5.DLL(this is version 5.0) is installed, and the program is loaded in the proper windows environment.
>
>The only reason I can determine that I get an "Resource Manager Internal Error" is because it cannot locate the temporary cursors that I have created.
>
>Two questions:
>
>first: why do I get an ' internal consistency error' and how do I remedy this problem?
>
One cause I've seen for this is where the swap file and temp files are on the same drive, and the two collide in their need for disk space. On occasion, a really badly fragmented swap file under Win9x has been the culprit.
>second: If the computer cannot find the temporary files as indicated by the "Resource Manager Internal Error", how do I ensure the computer can find these files?
Are you explicitly assigning the path for temp files? If not, and the executable is on a network drive, and is started in a network directory, you may be seeing a network connection dropping out intermittently. VFP will use the starting directory as the home for temporary work files if not directed elsewhere.
If you don't assign a location in the CONFIG.FPW, and the executable is located on the network, try creating a CONFIG.FPW and having it point to a local disk drive for the TMPFILES and SORTWORK entries (make sure the directory pointed to exists, or you'll be an unhappy camper.)