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