Apply Server Changes


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Good afternoon!



If a user opens a window and searches for a specific record, then someone else does something to change that record, how could I retrieve those changes on the server and update the specific record? I'd like to attach this functionality to a button on the form so that the user can just check for changes whenever they need to.



Thanks!

Bill
Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Ideally, I would like to alert the user in real-time that the order was shipped, but I will settle for the user manually initiating the refresh of just the status field. Sure, I could re-query the whole BO, but I don't think it is necessary when only one field has been affected.




In a previous post I mentioned using the row version in a scalar method to just query on a threaded timer to check for an update. This is something that we do in our medical software for check for updates in a real-time environment.



You can create a scalar method to check back with the server every 1-2 seconds to see if the status has changed. If so, notify the local client. You can also force the check prior to saving the record. This would prevent the need to have a button that checks the status.
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Oh, yeah...I'll get there one day. I have to get the row version column setup and all that. I do like the concept, though. Thanks!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Bill Cunnien - 16 Years Ago
Edhy Rijo - 16 Years Ago
Peter Jones - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Bill Cunnien - 16 Years Ago
                     If it solves your problem, then no. :)
Trent L. Taylor - 16 Years Ago
                         Just tested in the application...apparently, the code does not do what...
Bill Cunnien - 16 Years Ago
                             You will have to go back to the server to update. Again, I guess I...
Trent L. Taylor - 16 Years Ago
                                 I don't think I am side-stepping concurrency.

A sales...
Bill Cunnien - 16 Years Ago
                                     [quote]Ideally, I would like to alert the user in real-time that the...
Trent L. Taylor - 16 Years Ago
                                         Oh, yeah...I'll get there one day. I have to get the row version...
Bill Cunnien - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search