on 02-24-2005 9:58 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.