Skip to Content
author's profile photo Former Member
Former Member

Problems with matrix's columns

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 10:37 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.