on 08-28-2007 11:16 AM
I have a matrix , i would like to like specific colum Say column1 to
multiple object, meaning every row will link to different object, is that possible?
I know how to link a coulmn to a Linked object
oColumn = oColumns.Item("column1")
oLink = oColumn.ExtendedObject
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
what i want is based on certail condition
row1, coulumn1 link to lf_Invoice
row2, coulumn1 link to lf_PurchaseInvoice
Is that possibel?
Hi,
No, that's not possible:
1 column = 1 object type.
However, you could set the object type to "lf_None" and then handle the click on the linked button in your code (need a workaround to open the form for the corresponding object...)
HTH,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think u can use Item Event Before Action=True to solve it
code below is what i'm using
If pVal.ColUID.Equals("DocNum") And pVal.EventType = SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED Then
sObjectType = oGrid.DataTable.Columns.Item("ObjType").Cells.Item(pVal.Row).Value
oEditTextColumn = oGrid.Columns.Item("DocNum")
oEditTextColumn.LinkedObjectType = sObjectType
End If
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
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.