Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and SQL at the same time
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01664796
Message ID:
01665584
Views:
63
>Having done this a bunch of times in the past - what I've found works best is to use VFP remote views for everything. You can use remote views to access a VFP table, PostgreSQL table, Oracle, SQL Server, etc.. Now IF you design your tables properly - then you can use the same remote view to connect to any of these (and other) back-ends. Using VFP and want to switch to SQL Server? All you have to do is change 1 connection string ..and taadaa! Now using other back-end. I've had great success doing this - and even have a couple of applications that can run on VFP, SQL Server, Oracle, PostgreSQL, and mySQL -- all work with changing one connection string. :)

Good idea.
I was faced with the reverse issue - the potential of moving off VFP/SQL Server to another platform but staying with SQL Server.
SQL Server views and stored procedures are portable to just about any language, so I used them for all my VFP queries and updates.
Later I used them unchanged in .NET applications.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Reply
Map
View

Click here to load this message in the networking platform