cancel
Showing results for 
Search instead for 
Did you mean: 

how to open a form multiple times

Former Member
0 Kudos

pl tell me how to open a form multiple times

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Sagar,

Before adding the form to SBO

try to get the existing count of the form

as shown below

For int = 0 To objApplication.Forms.Count - 1

If objApplication.Forms.Item(int).TypeEx = FormType Then FormTypeCount += 1

Next

THEN append that with your form type as shown below

objFormCreationParams.FormType=FormType & "_" & FormTypeCount.ToString

Then add the form to SBO

SO every time your form is opened the unique id will like URFORMTYPE_1,URFORMTYPE_2 and so on

Hope this helps

regards

vishnu

Former Member
0 Kudos

HI Vishnu,

Thank u very much

Former Member
0 Kudos

Hi

please reward the points

Answers (0)