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

Posted on 2011-10-30
Last Modified: 2012-05-12
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
Question by:luciliacoelho
    LVL 27

    Accepted Solution

    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.
    LVL 9

    Assisted Solution

    I think this is one of the better article that can explain how to use sql in visual foxpro.
    LVL 29

    Assisted Solution

    by:Olaf Doschke
    LVL 22

    Expert Comment

    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.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: (http://msd…
    In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now