cancel
Showing results for 
Search instead for 
Did you mean: 

Right Click Event Problem in Matrix

Former Member
0 Kudos

Hi all,

I want to remove line of matrix except last line?. How i manage the DataSource after removing rows in the matrix ? If you have any samples please give me??

Regards,

Suresh.G

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

RIGHT_CLICK_BEFOREACTION(ref SAPbouiCOM.ContextMenuInfo eventInfo, out bool BubbleEvent, SAPbouiCOM.Application oSboApplication, SAPbobsCOM.Company oCompany)

{

BubbleEvent = true;

oForm.EnableMenu("1293", true);

}

remove row one by one.

i think this will help you.

Answers (1)

Answers (1)

former_member192187
Participant
0 Kudos

You can for example:

a) load Matrix to the DBDataSource

b) remove chosen records from DBDataSource (RemoveRecord function).You have to know

recordnumbers of record to remove.

c) query and load data to the matrix ( Query() and LoadFromDataSource() functions )

regards

ks