Using table after .ADD connection / FWH and xHarbour

Post Reply
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Using table after .ADD connection / FWH and xHarbour

Post 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!
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

USE TEST ( without path )
Regards

G. N. Rao.
Hyderabad, India
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Post by fraxzi »

Thanks for your reply Mr. NageswaraRao,

...I tried that too but runtime error: Open Error :(
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Post 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
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Post Reply