Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to Create Cursor
Message
From
19/03/1999 11:47:13
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00199508
Message ID:
00199787
Views:
19
>>The main EXE (compiled to run with the RUNTIME only) for my application is in a directory that users have only read access to.
>>
>>In the CONFIG.FWP I have EDITWORK, PROGWORK, SORTWORK, and TMPFILES all set to C:\WINDOWS\TEMP, but when the user starts any of the applications off the menu they get a message that says CAN NOT CREATE CURSOR. (All these forms use PRIVATE DATASESSIONS, if that makes a difference) I am only manually opening tables in the data environment of the form, no selects or the like.
>>
>>On my system it is creating the TMP files in this temp directory. I have Read/Write access to the startup directory, but I don't see anything create in this dirctory.
>>
>>What would VFP5.0 be trying to create in this directory, and more importantly, what else is there that will redirect this cursor to the local hard drive?
>>
>>TIA
>>
>>Norm
>
>Depending on the size of the cursor and memory available, you may or may not see an actual file created in the TEMP directory. I just die a SELECT * from a medium sized table into a cursor, did a DISPLAY STATUS to get the actual temp-file name, and could not find that file in the TEMP directory using Windows Explorer (and refreshing the directory). This does not mean the cursor does not exist, it just exists in memory. You can use also use the DBF() function to get the actual path and filename of the cursor created.


Yes, I understand and use Cursor's a lot in 2.6. However, I can not figure out why it is creating a cursor when the form is initialized. I open all the tables manually in a private datasession. VFP5.0 is doing something here that I am missing.

Evan suggested a problem that he had with one of the DLL's creating a temp file. I moved the DLL's from the server and had the user reboot their system. Still the same problem. Becuase they needed to run the program, I added network rights so they have Delete Modify and Create to the directory where the application resides, and it runs just fine now. In looking at the open files list on the Novell server, there is nothing created in this directory. Why the error if nothing is created? I'm lost on this one!
____________________________________________

Norm Peterson

It's a dog eat dog world out there,
and I'm wear'n milk bone underware!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform