Skip to Content
avatar image
Former Member

How to enable green buttons in sap business one User created form

How to enable First Data Record, Previous Record, Next Record, Last Data Record and Find record Menu options in SAP Business One , With User Created Form.

Normally System defined forms above options are enabled automatically, but while form is created by User it self Green arrows(above options) are disable mode, then how to enable this options and How to work with Next ,Prevoius clicks fetching infomation.

PFA.

Thanks.

green-arrows.png (1.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 04, 2017 at 11:50 AM

    Hi Werner,

    A sample:

    Suposse you create an UDO and a form, and you connected the fields of your UDO to your form fields.

    So, suppose you have an edittext called edtCode and you bind it with your primary key of your UDO, in this sample: "Code", after this, you only need set the property DataBrowser of your form with the unique id of your editText, then your green arrows will be enabled.

    My user form:

    My first editText connected with Code field of my UDO.

    My DataBrowser property:

    It is possible to do the same things by c# or vb code.

    Hope it helps.

    Kind Regards,

    Diego Lother

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Lother,

      How to clear combobox values , i mean, ComboBox doesn't clear the value if one is already selected value.

      oItem = oForm.Items.Item("ddl_Subj");
                              cb = ((SAPbouiCOM.ComboBox)(oItem.Specific));
                              int Count = cb.ValidValues.Count;
                              for (int i = 0; i < Count; i++)
                              {
                                  cb.ValidValues.Remove(cb.ValidValues.Count - 1, SAPbouiCOM.BoSearchKey.psk_Index);
                              }
      above i writeen code for clear comboBox items. this code working fine, but doesn't clear the value if one is already selected before value. Thanks,