Click here to Skip to main content
15,890,506 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Sascha Lefèvre18-Jun-15 1:30
professionalSascha Lefèvre18-Jun-15 1:30 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Richard Deeming18-Jun-15 3:27
mveRichard Deeming18-Jun-15 3:27 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Dave Kreskowiak18-Jun-15 4:20
mveDave Kreskowiak18-Jun-15 4:20 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc18-Jun-15 10:24
satc18-Jun-15 10:24 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Sascha Lefèvre18-Jun-15 11:18
professionalSascha Lefèvre18-Jun-15 11:18 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Dave Kreskowiak18-Jun-15 12:22
mveDave Kreskowiak18-Jun-15 12:22 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc18-Jun-15 12:45
satc18-Jun-15 12:45 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Dave Kreskowiak18-Jun-15 13:19
mveDave Kreskowiak18-Jun-15 13:19 
satc wrote:
Always undo the last change.


By who? From what you just said, the last CHANGES would consist of the last change User A made AND the last change User B made.


satc wrote:
Anyway let's suppose that the problem that 2 users try to change the same record at the almost same time , doesn't exist.


Do not EVER make this mistake. Today, that may be the truth, but tomorrow, or next week, or next year, you can't guarantee that.



satc wrote:
Now , technically , this Undo/Redo process how can be made ? I mean , an opinion how these "step by step changes " should be saved in order to permit Unod/Redo ?

An idea ?


You didn't change the circumstances under anything anyone hasn't already said. It's possible, but technically difficult and you've got a bunch of cases where unexpected things will happen because multiple people can make changes to the same data at the same time.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc18-Jun-15 14:35
satc18-Jun-15 14:35 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Dave Kreskowiak18-Jun-15 15:33
mveDave Kreskowiak18-Jun-15 15:33 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc18-Jun-15 17:04
satc18-Jun-15 17:04 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Dave Kreskowiak18-Jun-15 18:24
mveDave Kreskowiak18-Jun-15 18:24 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc18-Jun-15 19:52
satc18-Jun-15 19:52 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Dave Kreskowiak19-Jun-15 2:32
mveDave Kreskowiak19-Jun-15 2:32 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc19-Jun-15 11:23
satc19-Jun-15 11:23 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Dave Kreskowiak19-Jun-15 12:45
mveDave Kreskowiak19-Jun-15 12:45 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc19-Jun-15 15:03
satc19-Jun-15 15:03 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Eddy Vluggen19-Jun-15 5:22
professionalEddy Vluggen19-Jun-15 5:22 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc19-Jun-15 11:27
satc19-Jun-15 11:27 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Eddy Vluggen19-Jun-15 11:40
professionalEddy Vluggen19-Jun-15 11:40 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc19-Jun-15 14:56
satc19-Jun-15 14:56 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
Eddy Vluggen19-Jun-15 23:32
professionalEddy Vluggen19-Jun-15 23:32 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
PIEBALDconsult18-Jun-15 18:44
mvePIEBALDconsult18-Jun-15 18:44 
GeneralRe: Mimic a Undo/Redo on a VB.net + Database application Pin
satc18-Jun-15 19:55
satc18-Jun-15 19:55 
QuestionRefresh a bindingsource Pin
satc17-Jun-15 17:02
satc17-Jun-15 17:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.