Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First time user of SQLCONNECT()
Message
From
11/06/2003 00:51:11
Edward See
Magicalogic Consultancy System
Quezon, Philippines
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
First time user of SQLCONNECT()
Miscellaneous
Thread ID:
00798746
Message ID:
00798746
Views:
69
i have a Sample.DBC in W2K server.
ODBC is mapped to this. DNS name is 'Sample'

code inside form.init() is :

nConn = SQLCONNECT('Sample','','')
SQLEXEC(nConn,'SELECT * FROM customer','customercursor')

the above works fine if form is compiled to exe and run from server.

but if the same exe is run from a workstation ( directory of exe is mapped to a drive ) , nConn is error.

what I am trying to do is running VFP exe but the data is hidden but accessed through server ODBC ?

please guide me.

thanks
Use things, not people. Love people, not things
Next
Reply
Map
View

Click here to load this message in the networking platform