on 01-28-2011 5:36 AM
Hi Experts!
Q1. i am attaching CFL in matrix column which is of integer datatype. but cfl is is not showing. it showing like edit text.
Q2. in add mode, all the matrixes are freezed due to which i am not able to add any data by entering in matrixes. but when i open the form in find mode it is working fine. please send solution.
Thanking you
vishwajit kumar
Hi Vishwajit Kumar ,
Q2). In find mode by default you have a single row. but in add mode you have to add the row through code.
oform=sbo_application.forms.item("SampleForm")
omatrix=oform.items.item("MatrixId").specific
omatrix.addrow(1,-1)
If ur using a button to add a row then write this code in item event or else write it in menu event. Menu id ="1282"
Q1). The field datatype should be alpha numeric
Regards,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Q1) if you are using a choosefromlist then the corresponding field must be bound to a alphanumeric type
Q2) you can enable matrix like this
on after menu click
Select Case pVal.MenuUID
Case "1282" 'ADD = 1282
Dim oItem As SAPbouiCOM.Item
oItem = _form.Items.Item("matrixUID")
oItem.Enabled = True
End Select
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.