Re: VFP 9/SQL Server Integration Question



It's not endemic to VFP9. You can do it in VFP6 too! Take a look at the help
file entry on Remote Views.

Now, the whole "Zen" of application development changes when you move to a
back-end server. So this is a bit of an oversimplification but you can
switch a remote view for your DBF in a form's data environment and you're
there. A remote view (or local view) behaves exactly like a table. You can
USE it, SCAN it, LOCATE in it, REPLACE in it, etc.

Remember that Zen thing? The goal when you're dealing with SQL Server (or
any back end) is to only include in your views the data that's necessary for
the task at hand. That's where parameterized views come in. You only bring
the data across the wire that you need *right now*.

For a good book on this topic (written in the VFP6 timeframe even, I think)
go visit hentzenwerke.com and look for "Client-Server Applications" (or
something approximately like that) in their catalog.

Dan

Mike wrote:
> Hi. I have several VFP 6 applications which I want to keep in FoxPro
> but I want to move the databases to SQL Server. I've heard that VFP
> 9 allows you to interact with SQL tables using FoxPro database
> commands, allowing for a more seamless transition to SQL Server.
>
> For example-
> If I have a FoxPro DBF named TABLE1, and I currently issue the
> statement "USE TABLE1" to use the table, can I create a SQL table
> named "TABLE1" (with the same data structure, etc) and be able to
> interact with that table by still issuing the "USE TABLE1" command?
>
> Thanks.


.



Relevant Pages

  • Re: TS vs VPN
    ... Using TS, w/o VPN ... The remote client connects to your local TS via Remote Desktop. ... "Foo" accesses the SQL server, which is nearby in a protected part of the network. ...
    (microsoft.public.windows.terminal_services)
  • Re: Remote Database Connection with PocketPC/MSAccess Front End
    ... If you want to allow direct remote access for your Access data, I'd suggest writing a web service which your remote apps could use. ... The general problem with mobile access to remote data of any kind (including SQL Server which Windows Mobile devices can access directly remotely) is that sometimes the connection just isn't there. ... Generally the easiest backend data store to use for this local cache is going to be SQL Server Compact, which supports several sync strategies including the Access Sync Services that your question isn't about. ...
    (microsoft.public.pocketpc.developer)
  • RE: Login failed for user (null).
    ... used at signon to authenticate in SQL Server. ... connect the remote SQL Server database), is there any other data accessing ... What's the security identity used to access the remote SQL Server, ... the worker process identity. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Proposal: 6NF
    ... Should I try it on Sybase ASE 12.5? ... SQL SERVER, ORACLE and DB2 have the same heritage then... ... insert table1 ... consequence of allowing NULLS at the first place... ...
    (comp.databases.theory)
  • RE: CTP3 Failure - Creating a Remote Distributor (error during decrypt
    ... with changes in the SQL Server service account after replication has been set ... Are the remote distributor and the publisher machines in the same domain? ... Are the distributor and publisher SQL Server Service running under domain ...
    (microsoft.public.sqlserver.replication)