Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / Setup / September 2004

Tip: Looking for answers? Try searching our database.

Multiple Data Environments on form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ted Kyte - 07 Sep 2004 16:21 GMT
Can I have multiple data environments on a form.
What I am trying to do is use one dataenvironment on a local machine and
then a different environment on a remote machine to access the same data.
So the local machine will access the data on its local drive C: and the
remote machine will access the same tables on a remote machine as drive F:.
The program is installed locally on each machine.
I am using Visual FoxPro 7.
Lee Mitchell - 15 Sep 2004 22:32 GMT
Hi Ted:

I have never heard of a form having two data environments.  If this can be
done, I am not aware of a way to accomplish it.

Let's approach this problem differently.  Could you parse the SYS(0)  
function to get the machine name and then conditionally point to the
whatever location you desire to open the proper tables?

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 Public Beta Now Available!! --*
Download the VFP9 beta here: http://msdn.microsoft.com/vfoxpro/   

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
  http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
  http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
  - VFP5 Mainstream Support retired June 30th, 2003
  - VFP6 Mainstream Support retired Sept. 30th, 2003

>Can I have multiple data environments on a form.
>What I am trying to do is use one dataenvironment on a local machine and
[quoted text clipped - 3 lines]
>The program is installed locally on each machine.
>I am using Visual FoxPro 7.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.