Skip to Content
0
Former Member
Jul 21, 2008 at 09:59 AM

Regarding Choose from List ..

22 Views

Hi All,

I tried following code,

Dim oCFLEvento As SAPbouiCOM.IChooseFromListEvent

oCFLEvento = pVal

Dim sChooseFromListUID As String

sChooseFromListUID = oCFLEvento.ChooseFromListUID

Dim oChooseFromList As SAPbouiCOM.ChooseFromList

oChooseFromList = form.ChooseFromLists.Item(sChooseFromListUID)

Dim oDataTable As SAPbouiCOM.DataTable

oDataTable = oCFLEvento.SelectedObjects

Dim sName As String = ""

Try

sName = oDataTable.GetValue(14, 0)

edittext.Value = sName

Catch ex As Exception

sName = ""

End Try

But in this code get following Error,

Item - Can't set value on item because the item can't get focus. [66000-153]

Means when i will give TAB on textbox that time selecting value but when i will give again TAB for going next textbox that time that value not dispayed in that textbox. And it throw that Error.

Can any body tell me what i do ?