FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Using table after .ADD connection / FWH and xHarbour
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Using table after .ADD connection / FWH and xHarbour
Posted: Wed May 14, 2008 03:29 AM
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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Using table after .ADD connection / FWH and xHarbour
Posted: Wed May 14, 2008 03:48 AM

USE TEST ( without path )

Regards



G. N. Rao.

Hyderabad, India
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Using table after .ADD connection / FWH and xHarbour
Posted: Wed May 14, 2008 03:58 AM

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
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Using table after .ADD connection / FWH and xHarbour
Posted: Wed May 14, 2008 05:54 AM

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

Continue the discussion