Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql through internet
Message
From
28/11/2003 14:45:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/11/2003 05:08:09
Stephanie Caragos
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00854150
Message ID:
00854296
Views:
31
>how do i setup a computer connected to the internet through DSL as an SQL server for the software we developed using foxpro? what are the client computer requirements and what are the server computer requirements?
>
>Thanks in advance....your advice will really be of help to me....

This is the little .prg which I used to connect to a SQL server somewhere on the Net:
#Define C_ConnectString "Driver={SQL Server};Server=xx.xx.xx.xx;Description=ServerName;UID=dbUserName;PWD=password;Database=dbName;APP=MyAppName;WSID="

nHandle=Sqlstringconnect(C_ConnectString+GetWordNum(Sys(0),1," #"))
Return nHandle
I have replaced the real IP with xx.xx.xx.xx and the real names with descriptive names, of course.

Don't know whether you need any special setting on the server machine, it seems to need only to have SQL server running and it should be accessible by default.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform