Page 1 of 1

Using table after .ADD connection / FWH and xHarbour

Posted: Wed May 14, 2008 3:29 am
by fraxzi
After reading tons of post particularly from Mr.RF about ADS.
Here's my code:

...
ADSConnect60('\\server\data\database.add', ADS_REMOTE_SERVER, 'user', '***')

has returned .T.

...

inside the database.add has test.dbf

my question is.... HOW CAN I 'USE' test.dbf?

I thought of ... dbUseArea(.T., "ADSCDX", '\\server\data\test.dbf', 'test', .T., .F.)

..but the table is not visible over the network...

I used to 'use' table directly without .ADD but I would like to improve that using .ADD


Thanks and regards!

Posted: Wed May 14, 2008 3:48 am
by nageswaragunupudi
USE TEST ( without path )

Posted: Wed May 14, 2008 3:58 am
by fraxzi
Thanks for your reply Mr. NageswaraRao,

...I tried that too but runtime error: Open Error :(

Posted: Wed May 14, 2008 5:54 am
by fraxzi
SOLVED!

I was right in the first place....


adsconnect60(...) -> .T.
use table


My fault \\server\data\*.dbf has read restriction... now corrected!



Thank you for viewing this post :P