Page 1 of 1

Major Help with ads local

Posted: Fri Oct 31, 2008 8:25 pm
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!

Posted: Mon Nov 03, 2008 12:12 pm
by dempty
i really need some help!

Posted: Mon Nov 03, 2008 7:13 pm
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