Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update a Treeview in a multiuser environment
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
01075888
Message ID:
01076450
Views:
26
>Thank you
>I have just made an upgrade from VFP7 to VFP9 so I have not looked at bindevent yet.
>The table that holds the treestructure is on an SQL server, but maybe I must create it in the same directory where the shared app is.

You may have to write a listener and periodically have it cycle through the environment for the things you need to update. You could also write a "pusher" using something like winsoc that would notify your client, the VFP desktop GUI that it need to fetch up changes.

In most business situations, no two "clerks" will be working the same "bundle" of information. For example - two AR clerks will never enter the same payment or sale (and rarely will two AR clerks process for the same account (customer).

As others have said - treeview does not bind. Binding is usally slow anyway - so avoid it when you can. Hard "assignments" are faster and more reliable. So if performance rather than "ease of programming" is the priority - get comfy with coded assignments.222

If you want info on adding and removing nodes there are several good projects in download. You can check download #16575.

You can also build and "drive" treeview from the command window, It is a great way to learn from mistakes!:-)
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform