By Bill Cunnien - 1/8/2009
My delete procedure has become a void procedure...and, I also need to add a reason why the user wants to void the transaction. What I would like to do when the user clicks the void button (aka delete button) is popup a modal dialog window with a text box. The user would enter the reason, then click OK. My delete procedure would void the trans, stamp the date, add the reason, then save the record. Is there something already in the framework that would provide this kind of functionality? I have been searching for something this morning and I am coming up empty.
Thanks,
Bill
|
By Greg McGuffey - 1/8/2009
I don't believe there is anything within the framework that would handle this. I think you'll have roll you own dialog and then call it in the appropriate event, which would likely be BeforeDelete. You'd then cancel the delete, show your dialog, update fields and do the save. You'd also have to manage the default delete message. This can be turned off at the form level.
Check out this post for more info:
http://forum.strataframe.net/FindPost19900.aspx
|
By Bill Cunnien - 1/8/2009
Yup. That's what I thought. No worries...I'll roll my own.
Thanks a lot, Greg!
|
By Greg McGuffey - 1/8/2009
Any time Bill.
|
|