Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Linkto between static and edit text in b1 form.

hi.

Please have a look on below image..

i added some fields in sap b1 form ap invoice.

every thing is fine..

but what i need

normally if link is exists between two fields.

some horizontal link will be appear.

but that one i am not able to see it...

i don't have any problem..

but  looking is not good...

i all ready provided the link to between these two fields..

but no used.

i even check the height of the two fields...

it is showing same.... i mean top of the fields..

but i need a link between these two fields.

here is my code...

Any information please update me..

      oNewItem = oForm.Items.Add("Project", SAPbouiCOM.BoFormItemTypes.it_STATIC)

                        oItem = oForm.Items.Item("15")

                        oNewItem.Top = oItem.Top + 15

                        oNewItem.Height = oItem.Height

                        oNewItem.Width = oItem.Width

                        oNewItem.Left = oItem.Left

                        oNewItem.FromPane = oItem.FromPane

                        oNewItem.ToPane = oItem.ToPane

                        oNewItem.LinkTo = "Ct"

                        olable = oForm.Items.Item("Project").Specific

                        olable.Caption = "Project"

                        Dim oedit As SAPbouiCOM.EditText

                        oNewItem = oForm.Items.Add("Ct", SAPbouiCOM.BoFormItemTypes.it_EDIT)

                        oItem = oForm.Items.Item("14")

                        oNewItem.Top = oItem.Top + 15

                        oNewItem.Height = oItem.Height

                        oNewItem.Width = oItem.Width

                        oNewItem.Left = oItem.Left

                        oNewItem.LinkTo = "Project"

                        oedit = oNewItem.Specific

                        oedit.DataBind.SetBound(True, "OPCH", "U_ApProje")

linke.png (153772 B)
Former Member
replied

Hi Srinivasan,

Add the edittext 'Ct' first before setting the label linkto property.

Regards

Edy

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question