cancel
Showing results for 
Search instead for 
Did you mean: 

Binding Problems

Former Member
0 Kudos

Hi. I try binding edittext

oEdit.DataBind.SetBound(true, "", "EditDS");

and at the same time it is a container for a data of a choosefromlist.

and when i changed the binding of the the edittext to the user table

oEdit.DataBind.SetBound(true, "@GC_OPRQ", "U_RequestedByEmpID")

it doesn't show the data that should be thrown by the choosefromlist

the form is automanage is set to true..

tnx in advance

Accepted Solutions (1)

Accepted Solutions (1)

barend_morkel2
Active Contributor
0 Kudos

Hi Robert,

You can only have 1 data binding to a control.

Thus if you want the oEdit.DataBind.SetBound(true, "@GC_OPRQ", "U_RequestedByEmpID") for the purposes of your UDO, you'll have to make another plan for the CFL.

What I propose is to add a button to browse for the CFL like in the example :

C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\17.ChooseFromList

Answers (1)

Answers (1)

Former Member
0 Kudos

hi barend

maybe i can do it in an editbox, but i would still have the same scenario if i bind it to a matrix which is also binded to a choosefromlist

regards

robert