Skip to Content
0
Former Member
Nov 26, 2009 at 01:11 PM

Creating Primary Keys Programmatically

40 Views

Hello,

I came across the following commands for createing fields programmatically,

Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD

oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)

However I would like to create primary keys as well, instead of doing it afmanually after the tables are created. Anyone with an idea on how to do this ?

Regards,