ModifiedFormPages.Add causes internal error

  • Thread starter Thread starter the_christl
  • Start date Start date
T

the_christl

Hi,

I have a problem with adding a new page to an already existing
appointment item

The lines of code below do work, if I open a new appointment-item
The lines of code below do NOT work, if I open an already existing
appointment item - but I get an 'internal application error'
(the debugger shows, that the count of ModifiedFormPages increases
form 0 to 1, but no no item will be created)

Am I not allowed to add a page to an already existing item (which
would be very bad for me....)?

Dim Inspector As Inspector
Dim objActualPages As Object
Dim objActualPage As Object

Set objActualPages = Inspector.ModifiedFormPages
Set objActualPage = objActualPages.Add("NewPage") 'this line causes
the internal error

hope someone out there has an answer for this problem

thanks in advance
chris
 
Back
Top