on 07-22-2009 7:01 AM
Hi,
is it possible to add a linked button on a grid to a Business Partner name, or does it always have to be the BP Code?
Hi,
Actually it always has to be the BP code.
But as a work around u can try the following and check if it works, add a invisible BP code colunm and have a link button at the BP name but link the link button to the BP code.
Check if the above works, i have did a simolar thing for edit texts but not for grid cols, but i think it should work.
Hope it helps,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi thanks for the reply
I'm not sure if I can link it to one column and display it in another since I am using a grid. The code would have to be something like this
oLink = (SAPbouiCOM.EditTextColumn)oGrid.Columns.Item("Bp Code");
oLink.LinkedObjectType = "2";
This doesn't allow you to move it somewhere else (at least I don't think so)
Hi Costas,
Dim oGrid As SAPbouiCOM.Grid = oForm.Items.Item("GRID_ID").Specific
Dim oEditText As SAPbouiCOM.EditTextColumn = oGrid.Columns.Item("Print?")
oEditText.Type = BoGridColumnType.gct_CheckBox
oEditText = oGrid.Columns.Item("BP Name")
oEditText.LinkedObjectType = "2"
oGrid.AutoResizeColumns()
Then you need to catch the et_MATRIX_LINK_PRESSED event and load the correct BP record.
Regards,
Vítor Vieira
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.