Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set reprocess command
Message
 
À
19/02/2004 17:31:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00878456
Message ID:
00879155
Vues:
21
Your application will need to create the directory (or you do it manually). Also, are any people working on a terminal server? If so, they will need their own temporary area on the local machine.

If you have a loader program (which I highly suggest), that program can create the directory(ies) as needed.

-w-

>Wayne
>I assume I can create a config file and add it to the project with the following script in it.
>
>
>TMPFILES=c:\work
>EDITWORK=c:\work
>SORTWORK=c:\work
>PROGWORK=c:\work
>
>
>Will I need to create the directory on each PC or will it automatically be created by VFP. If it is not there what happens? Sorry for asking such rudimentary question but I never had the need to use them before and the literature I have read doesn't say much other than how to call them. How is designating temp file location better than the default windows temp files location.
>
>Thanks
>
>Gaylen
>
>
>>It is something you need to setup in your vfp program. You say that each program has an exe installed on it - put a config.fpw on the local workstation that points to a temporary directory on the user's drive (make it with vfp if it does not exist).
>>
>>
>>TMPFILES=''
>>
>>
>>-w-
>>
>>>Each workstation has an exe which calls an app from the network. Would it be set up as part of the runtime or would I need to set it up. I'm pleading ignorance as I've never had to set up temp directories before and not sure how to do it or what they do.
>>>
>>>Gaylen
>>>
>>>
>>>>Does each user have their own temporary directory?
>>>>
>>>>>Just built a new application with VFP8 and went live Monday. I have gotten a few "File in use by another user" error messages. I use views and cursors exclusively and the I only time I go against the dbc and table is when I do an insert or a sql statement. There are twenty users key very hard against the main files. I have used the default value for set reprocess. It appears I will have to use a higher value for set reprocess. What are the downfalls if any for a higher value in set reprocess or if you have any suggestions in how to prevent the errors would be greatly appreciate it. Should I consider setting reprocess to automatic. The help files gives some alternatives but I was looking for some real world experiences or best practices.
>>>>>
>>>>>Thanks
>>>>>Gaylen
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform