Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can Curdir() or AT() slow down the application?
Message
De
30/10/2008 06:59:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358186
Message ID:
01358289
Vues:
15
I suggest that you look for nonexisting drives or directories in your path settings, check both VFP's SET PATH and Windows' path settings.

>Hi,
>
>A customer who is doing beta testing of my application reported a big time slow down every time data is retrieved from the VFP. I believe that the only difference (as far as getting data) is that I added the following code to my function EXEC_SQL_COMMAND() that executes SQL Select. I added this code in order to make sure that the SQL Select opens the right tables in the correct directory:
>
>
>IF AT( CURDIR(), UPPER( cDataDir)) = 0
>	*-- Current folder does not match the Location DATA folder.
>	*-- Change directory to the DATA folder defined in the preferences.
>	SET DEFAULT TO (cDataDir)
>ENDIF
>
>
>Can the above code cause considerable slow down? Interesting thought that when I connect to their server via Remote Desktop and run the application I don't get delay at all.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform