Re: How to determine if a record has change?
I wanna jump in on this one:
I never use DirDlg() or FileDlg directly on a variable but always an extra variable. If you do an update on a variable with DirDlg() and the user presses ‘Cancel’ the original value will be gone and the variable will be empty. I use an extra variable, update that one with the DirDlg() and if not empty than update the original variable with that value. And no, RS is not triggered.
Van: firstname.lastname@example.org [mailto:email@example.com]
Namens Wes Hein
One thing to remember though is that Magic must sense that the user made a change for the viewmod() or record suffix to fire. So lets say you use the DirDlg function to update a field and the user initiates no other input, the record suffix
will not fire. In those cases if the folder variable is 'DA' I add a DA<>VarPrev('DA'VAR) in the Force record suffix setting in the Task Properties.