Skip to Content
0
Former Member
Jul 03, 2007 at 05:06 PM

Forms.Item throws exception InvalidForm

21 Views

Hi,

Please forgive my very first steps with SDK. I have a case where I call

SAPbouiCOM.Form fFAR = appSBO.Forms.Item("svcFAR");

to check if the form already exists. However, instead of null (the first time it doesn't exist), it throws an exception named 'Form - Invalid Form'...

Is this the correct way of checking if a Form already exists? I guess it should return 'null' instead...

Thanks,

Leo