cancel
Showing results for 
Search instead for 
Did you mean: 

linking a column to a user created form

Former Member
0 Kudos

linking to an user created form

Posted: Sep 23, 2006 2:51 AM Reply E-mail this post

hai everybody,

i have created a linked button in a column of a matrix by which i want to link to a form which is created by me itself using VB.NET codes.when i do this using vb.net coding it will give error message as " your form is not a member of Bolinked object".How to solve this problem.please send a sample code for this,and what is the code for event catching for the linked buttons in a column of a matrix, please reply.

thanking you all.....chethan.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you only can produce Link-Buttons for Items listet in

the SAPbouiCOM.BoLinkedObject. Please set the correct

entry, like lf_BusinessPartner.

Used following code for initializing the matrix as example:

Dim oXColumn As SAPbouiCOM.Column

Dim oLink As SAPbouiCOM.LinkedButton

.

.

.

oXColumn = oXColumns.Item("8")

oXColumn.DataBind.SetBound(True, "ODLN", CStr("CardCode"))

oXColumn.Editable = False

oLink = oXColumn.ExtendedObject

oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner

I hope this helps

Best regards

Jochen

Answers (0)