Skip to Content
avatar image
Former Member

UI: How to get a Form.Item value

How can I get Item values from the selected form in SBO.

I get the form but the items give empty results.

Dim oItm As SAPbouiCOM.Item

Dim oFrm As SAPbouiCOM.Form

For Each oFrm In SBO_Application.Forms

If oFrm.Selected = True Then

For Each oItm In oFrm.Items

Debug.Print oItm.Description

Next oItm

End If

Next oFrm

Please advise.

Thanks

Geir

SBO Consultant

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 10, 2004 at 10:44 AM

    Hi

    The "Description" property won't give you values of the items. For every kind of items exists different properties and methods to get the values. For EditText you can use .Specific.String, for ComboBox - Selected.Value, for CheckBox - "Checked" property and etc... See in helps

    Add comment
    10|10000 characters needed characters exceeded