Using table after .ADD connection / FWH and xHarbour

Using table after .ADD connection / FWH and xHarbour

Postby fraxzi » Wed May 14, 2008 3: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Postby nageswaragunupudi » Wed May 14, 2008 3:48 am

USE TEST ( without path )
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10645
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby fraxzi » Wed May 14, 2008 3: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Postby fraxzi » Wed May 14, 2008 5: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 47 guests