Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still More On ADO
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00622018
Message ID:
00622417
Views:
31
Hi!

ADO use new principles of data updating and management of the conflicts in the multi-user environment. It has a set of field properties that are similar to VFP functions OldVal() and CurVal(), comparing which you can determine if data on the server or database are changed by another user. So when data saved, you run a routine and say user that some fields already changed by another user, maybe even show new values, then ask if user want to overwrite changes. I did made similar routine in the past (3 years ago) and it worked very well.

There are no locking in ADO, as far as I know.

HTH.

>First, Thanks to all who have answered my many questions on ADO. As ypu
>probably figured, I'm well into a VFP project using ADO.
>
>I'v been developing a VFP COM object which handles all the ADO stuff. This
>DLL is then instantiated inside a business object, which in turn is
>instantiated by a GUI which runs various processes. So far, all is well.
>
>The question today I have is this; What are the pro's and con's of using
>ADO in a VFP Mult-User environment? How do handle comflicts? How do ensure
>a record is locked when I want it locked?
>
>Thanks again for all the help
>
>Kevin
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform