Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connexion from VFP trough a VPN to a SQL DB
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Application:
Desktop
Miscellaneous
Thread ID:
01487255
Message ID:
01487282
Views:
34
I know about that. I'm a bit sorry about the seek but we should live with that... :-)

When I connected to Interbase I used ODBC, SQLCONNECT() and SQLEXEC() to make my transactions. I figure out to do the same with SQL Server but I'm stock on the ODBC configuration.

Actually, I have to user that I can use:
- SA ( administrator BD user )
- DomainUser ( User on the local domain )

However, personnaly, I'm not a domain user. Is it possible that this thing make my configuration more complex?



****
The first thing to realize is that ALL data access is via SQL statements. You can't SEEK, LOCATE, DELETE, REPLACE, etc. You need to work with a set of data, for example all customers with a LastName = "Smith". So using a SQL SELLECT statment, you get that set of data and work with it. You NEVER have the entire table. ALWAYS a set of data.

Next, connecting over a VPN is no different than connecting locally. You have a connection string that includes several things, including the servername. You may or may not have username and password. It depends on how SQL Server was configured. If it uses WIndows Authentication, then Windows will pass an authentication token to SQL Server and no username/password is required from the user. If you use "Mixed" authentication, you may have to pass a username and password as part of the connetion sstrnig OR you can rely on Windows Autentication. It depends on how that user was setup in SQL Server.

You also need to determine what technology to use inside VFP. See my other post ot you.
Have a nice day,

Normand
Previous
Reply
Map
View

Click here to load this message in the networking platform