Group: StrataFrame Users
Posts: 70,
Visits: 3.5K
|
Hi Dustin,
Sorry about the empty email. I intended to point out several other problems with that subroutine, but I accidently sent it before describing the problems. Now I don't have sufficient time today to fully explain the problems, but I can quickly mention that scanning through all business objects without checking the forms property named "IncludeInFormDeleteType" seems wrong to me. Perhaps the form's subroutine named "GetListOfDeleteBOs" could be used to limit the scanning of uninvolved business objects. Actually we could probably replace all the code in the cmdDelete_Click subroutine with the following code because "_AllowMultipleModifiedRecords" is associated with the maintenance form toolstrip and is not affected by any business object. Here is the entire code (it is just an untested idea from a beginner):
Me.ParentForm.Delete(_AllowMultipleModifiedRecords)
I can provide a detailed argument and analysis tomorrow if you are interested.
Sam Tenney
|