Major Help with ads local

Post Reply
dempty
Posts: 22
Joined: Mon May 19, 2008 8:54 pm

Major Help with ads local

Post by dempty »

Hi guys,

After migrate to xharbour.com i've seen that my application running with ads local is to slow when i'm using the application in a client computer.

My application run in this way: All files are in the server and the client open the files there even the executable file.

My code

Code: Select all | Expand

#include "FiveWin.ch"
#include "Report.ch"
#include "InKey.ch"                                                                                       
#include "ads.ch"
#include "mysql.ch"
#include "sqlrdd.ch"
 
REQUEST SR_MYSQL

REQUEST DBFCDX

REQUEST _ADS

Function Main()

   rddRegister( "ADS", 1 )
   rddsetdefault( "ADS" )

   SET SERVER LOCAL
   SET FILETYPE TO CDX




Thanks for any help!
regards,

Diego Imenes
dempty
Posts: 22
Joined: Mon May 19, 2008 8:54 pm

Post by dempty »

i really need some help!
regards,

Diego Imenes
George
Posts: 726
Joined: Tue Oct 18, 2005 6:49 pm

Post by George »

Try the following:
A) Application software in terminal computer (not in the server)
B) Open all files (the database that is in the server) at the start of your application. Never close any file until you exit the application. To select a file use dbselectarea("your file").

I hope this can help.

Regards,

George
Post Reply