cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with matrix's columns

Former Member
0 Kudos

Hi friends,

I'm working on the "133" SBO form , and i would exchange

data from the four columns i've added to the Matrix,to the UserTable i've created before.

I created columns in this way:

FUColSp = FUmatrix.Columns.Add("col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)

FUColSp.TitleObject.Caption = "Saldo"

FUColSp.Width = 60

FUColSp.Editable = True

Now i would make some calculations between values on the columns' cells and my usertable data.

The problem is that SBO doesn't allow me to edit values in the "new columns' cells" so i can do nothing.

How can i solve this problem?

Does every column "MUST BE BOUNDED" to a datasource or not?

Thank you very much!

Giammichele.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can create a UserdataSource to your columns.

1- Create a UserdataSource in you form

oForm.DataSources.UserDataSources.Add("MyDataCol1", SAPbouiCOM.BoDataType.dt_SHORT_NUMBER, 30)

2-Create your column and assign the datasource

FUColSp = FUmatrix.Columns.Add("col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)

FUColSp.TitleObject.Caption = "Saldo"

FUColSp.Width = 60

FUColSp.Editable = True

FUColSp.DataBind.SetBound(True, "MyDataCol1", "col1")

3- Use the value of your column

Ribeiro Santos

Answers (0)