Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Work application in network under w98 and/or w2000 serve
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00641866
Message ID:
00641867
Views:
9
>I have an application create in vfp7.0, that works very well in stand-alone, but now i have two clientes who wants apllication work in network with 3 station and one server w2000, and i have another who wants 12 stations with win98 in multi-user. The question is how can i do this, i put de exec in each machine and files in server? Only need open the tables in mode share, or is necessary do other thing?
>If someone can help me, I appreciate.
>PS: I am a novice in vfp


Antonio:

In order to do multiuser work you need to set up your environment properly, using SET EXCLUSIVE OFF and therefore opening your tables in shared mode. You could put a copy of the EXE in each workstation and also create any temporary files on the workstation to speed things up. The data would reside on the server so it can be shared by all users. You could point to the data by a mapping to the server as the easiest way.

Note that this is not what is known as a Client/Server arquitecture but a way to share data files.

If your are a beginner in VFP you should read the help files, especially the part about multiuser programming and how to resolve data conflicts.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/vfp7startpage.asp?frame=true

Look at the following items:
SET EXCLUSIVE
SET MULTILOCKS
Buffering
TableUpdate() / TableRevert()
GetFldState()
OldVal() / CurVal()

There is a lot of good information to read here in the UT and also at:
http://fox.wikis.com/wc.dll?Wiki~CategoryLearningVFP
http://fox.wikis.com/wc.dll?Wiki~OOforBeginners~softwareEng
http://fox.wikis.com/wc.dll?Wiki~VFPRookieMistakes
http://fox.wikis.com/wc.dll?Wiki~VFPMisusedAndAbused

Also there are excellent VFP books at:
http://www.hentzenwerke.com/catalogavailability/fund6.htm

Cindy Winegarden has a list of beginners references
http://cindywinegarden.adsl.duke.edu/GettingStartedWithVisualFoxPro.htm


Nota: Vc pode perguntar em português na seção de Visual FoxPro em portugês aqui no UT si vc quizer.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform