Skip to Content
author's profile photo Former Member
Former Member

it_LINKED_BUTTON usage

Are there any examples describing how to use it_LINKED_BUTTON items?

I'm trying to implement a form containing references to B1 objects; i.e. a matrix containing Articles including a link to the corresponding article.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2004 at 05:55 AM

    Hi,

    Unfortunately, linked button don't work into matrix. Maybe, it will in tne future versions. You can use linked button with the EditText object. The EditText must contain a valid key value for linking.

    Best regards,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I just found out that it works perfectly without using Datasources.

      [LINK] [EDITTEXT]

      Dim oLink As SAPbouiCOM.LinkedButton

      Dim oId As SAPbouiCOM.EditText

      oLink = oForm.Items.Item("LINK").Specific

      ' set object type

      oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items

      oId = oForm.Items.Item("EDITTEXT").Specific

      ' set object identifier

      oId.String = "Coolest article ever"

      ' link arrow to id field

      oForm.Items.Item("LINK").LinkTo = "EDITTEXT"

      ' disallow editing of id field

      oForm.Items.Item("EDITTEXT").Enabled = False

      That's it, no query needed plus you can use several items of the same type in one form (don't know how to do that with DataSources).

      I'm definitely looking forward to the next release in order to use a matrix for linked buttons...

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2004 at 02:01 PM

    Hi,

    just FYI,

    LinkedButton in matrix was not exposed in 6.5.

    It is working great for SAP Business One version 6.7 MR.

    Regards,

    Yaniv G.

    SDK Consultant

    SAP Manage Israel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2004 at 08:16 AM

    Thanks a lot, that should do it!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.