cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Rows in User Defined Form Matrix

Former Member
0 Kudos

Hello,

I have a Custom Form I have created that contains a Matrix. When I do the Delete Row I can get it to delete and update the DataSource with no problem.

My issue is that When the User selects to Delete Row I want to verify specific conditions exist before I allow them to delete. I am trying this in the Menu Event and capture when they do the delete row. I can capture the form, but there is now way I can see to capture the Row they are on. I've tried .IsRowSelected and .GetNextSelectedRow but both of those return -1 and not the row.

Is this just not possible or is there another way I should be doing this.

Thanks in advance,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

Try the pval.row in the Itemevent. I think the Item Event trigger first before the Menu Event? Hope this helps...

Former Member
0 Kudos

Gilbert,

That does work and what I ended up doing. I was just hopeing that something in the Menu Events would capture this without having to keep track of the value between events.

Answers (0)