AllowMultipleModifiedRecords problem


Author
Message
Sam Tenney
Sam Tenney
StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)StrataFrame Novice (110 reputation)
Group: StrataFrame Users
Posts: 70, Visits: 3.5K
I need to allow the end user to delete several specific records from a table using a maintenance form toolstrip before any of those deletions are propagated back to the database.  Then when they click the Save button, I need all of the deletions to be sent to the database all at once.

I set the maintenance form toolstrip property named AllowMultipleModifiedRecords to True and I made sure the business object's property named IncludeInFormDelete was set to True.  Unfortunately each deletion is propagated to the database as soon as the user clicks the Delete button and confirms that they want to delete the record.

I stepped through the StrataFrame code and I have found that the problem is in the cmdDelete_Click subroutine in the maintenanceformtoolstrip.vb file.  That method checks the business object's EditingState and only sets llRemoveAtServer to False if the EditingState is not Idle.  I do not understand why the editing state is being tested at all.

Is this another bug?  Is there a simple workaround?

Sam Tenney
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search