I'm trying to select the Addresses folder on the Business Partner form load. I think I've found a bug because I can select all other folders on the form (General, Contact persons, Payment Terms, Payment System, etc.).
The code should be simple (frm points to the correct form object):
<b>Dim AddressesFolder As SAPbouiCOM.Folder = frm.Items.Item("15").Specific
AddressesFolder.Select()</b>
This generates a strange error on the .select() line:
<i><b>Item - Invalid item [66000-3]. Form Unique Id: 'F_218', Item Unique
Id: 'ACP_BTN'</b></i>
It does this every time on the same line. Even if I use a try/catch or "on error resume next" it still generates this error message and nothing seems to catch it. The strange thing is that I can select every other folder in the form. Only the Addresses folder gives this error. And of course, this is the one I need to select.
This has to be a bug, right?