Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update a Treeview in a multiuser environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Update a Treeview in a multiuser environment
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01075888
Message ID:
01075888
Vues:
63
Hallo!
I did a treeview (MS Treeview 6.0) where the users can add nodes, remove nodes, change the node text... and so on. Its fairly like Windows Explorer. Everything is saved i a table on an SQL server 2000.
It works very good if there only is ONE user, but if one user is manipulating the treeview, and in the same time an other user is doing the same thing, there will be some kind of conflict. The last user who is closing the tree and save the data on the server is writing over the changes that the other users has done.
Is there a common way to do, so all users allways has the same structure on the tree regardless who is changing the treeview.
In Internet Explorer you can see immediately on a network disc if any change is made, whithout doin anything yourself.
I dont know how to tackle this problem. One possibility is to make the tree readonly to everyone except the first user (like a worddocument on a network disc). But what happens if the user is going home whitout closing the tree. It is not a good solution. There must be some finished solution somewhere, because I dont think I am the first with this problem.
Does anyone has any hints or links to some document where I can read about this.
I am greatful for any answer that make me to go further.
It would be a pity if I cant use this wellworking treeview in a multiuser enviroment.

Thanks in advance
/Kjell
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform