• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 379
  • Last Modified:

using visual foxpro front end and SQL Server oy MY SQL as database server

Somehow I get annoyed by the repeating question of my customer "Why you do no use a SQL engine within your applications". Actually I don't see this as a must but anyhow I would like to get rid of this question when I install new applications on my customers. Did anyone changed their apps from free tables to SQL server or MySQL? Can you give some directions on the approach I should follow. Besides all I stated there are some issues when I work with distributed environments, namely, the access to shared drives within a WAN it is not so consistent as it could be.
If someone could give me a help, I would be grateful
Regards
Lucilia
0
luciliacoelho
Asked:
luciliacoelho
3 Solutions
 
CaptainCyrilCommented:
There is no need to go to SQL unless the database needs to be very secure (username/encryption/backup) and unicode.

You can play around with SQLCONNECT, SQLSTRINGCONNECT, SQLEXEC and SQLDISCONNECT to get the feel of SQL.

This is low level SQL.

There are other ways with SQL like creating VIEWs and CURSORADAPTERs. There are ample examples that ship with FoxPro.

I personally learned how to manipulate SQL but all my databases are in DBF.
0
 
rinfoCommented:
I think this is one of the better article that can explain how to use sql in visual foxpro.
http://www.devarticles.com/c/a/SQL-Server/How-to-Connect-to-a-SQL-Server-from-Visual-FoxPro/
0
 
Olaf DoschkeSoftware DeveloperCommented:
0
 
dportasCommented:
There are lots of good reasons to use a server DBMS: Resiliance; High availability and security features; Read consistency support; Scalability; More cost effective and manageable in a large enterprise network and service based environment; Easier to share data; Better support for third-party application integration, reporting and analytical software.

As a general rule, any non-trivial, multi-user database these days really ought to use a client-sever / N-tier architecture unless there are very good reasons not to. VFP makes a fine front end for client-server / N-tier apps. Obviously the limitations of 32bit VFP and its end-of-life status will rule it out for many people.
 
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now