user field form
Emanuele Croci
Dear all,in an optimizer function, how can I read the value of a combobox sited in the user fields form?
Please, can some one give me the source code commands?
For example, to read the docNum form a document form I use this command:
Dim DocNum As String = CStr(customize.UI.Components.TextEdit.GetFromUID(pVal.Form, "8").Value)
but, how can I read a field value in the user field form?
Best regards
Emanuele
Emanuele Croci
Dear all,I should have found a solution:
Dim SBO_Application As SAPbouiCOM.Application = SwissAddonFramework.B1Connector.GetB1Connector().Application
Dim CmbField1 As SAPbouiCOM.ComboBox = _
SBO_Application.Forms.GetFormByTypeAndCount( _
CInt("-" & pVal.Form.Type), pVal.Form.TypeCount).Items.Item("U_FIELD1").Specific
field1 = CmbRezTip.Value
Is there any other solution?
Best regards
Emanuele
0
Please sign in to leave a comment.
Comments
0 comments