Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select statement takes 10x longer in app vs. vfp
Message
From
21/07/2006 20:29:48
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
21/07/2006 11:28:04
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01137819
Message ID:
01138769
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
Hi,
If you are running the exe from drive C and the data on the network, make sure there are no data files on drive c, as VFP gets confused and accesses both and can loose the plot totally.

Check the SET PATH TO statements, VFP may be looking in the wrong places.

>Thanks Tamar (and everyone else). I did "display status to filename", both when running the main program from within vfp8.0 and when running it from the desktop.
>
>two differences that i can see.
>
>1. set escape is off on the vfp8.0 version. it is on in my app. i doubt this has anything to do with the problem.
>
>2. i mentioned earlier that i am doing this testing directly from the server. well, when i display status from the vfp8.0 version, it is accessing the tables from the c:\drive. When I am doing the program from the app, it is using the UNC name, which is \\hppav\tasks\t_memo, etc. this to me sounds like it could be a problem - perhaps it has to drill down through a number of areas to get to \\hppav\tasks before it reaches each table. just a thought. if so, i'm not sure how to enforce the use of c:\tasks in the application (for testing purposes). any help would be appreciated.
>
>dragan, I took a look at my runtime file to make sure they are the same. that hasn't been checked and there was a vfp6run.exe within the folder. however, it also had all the vfp8 run time files. i deleted the vfp6run.exe and tried again and no change in speed (still slow).
>
>hopefully there's a clue in the above. if so, please let me know. if i should post my status file for comparison (if anyone wants the fun of looking at it to see if they spot something that i didn't), let me know. Thanks again everyone for all your help.
>
>mike, thanks for your response (and your offer for help - very generous). right now i can't do that as access is a problem for outsiders. i do very much appreciate your offer though.
>
>EDIT - I have checked this on another computer in our office and while that computer is not as recent as the server (ie its specs are not as good), it runs the query in 1/3 the time as the server. i checked the status of the other computer and it was using the UNC naming. therefore i don't think this is the problem.
>
>paul
>
>Paul
Regards N Mc Donald
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform