Can't open UI doc in edit mode

I cannot open a UI docu in edit mode…

Set MUIDoc = UIWS2.EditDocument (True, NewDoc, False)

is there any condition that anyone knows of that would prevent me from doing this???

Subject: Can’t open uidoc

Just a guess, but since your code is referencing NewDoc, has the document been saved?Do you see it in debug?

Subject: What your doing looks ok

Hi, Christine. I think we need more specifics than what you have given. Your code looks fine as far as its structure. I am assuming you can open the document in read only mode? Are you assigning a form to the new document and did you create the new document in the same db where you have a high level of designer or above access? I’m thinking it could be acl related or possibly form related. As a test, you could try opening an existing document having the same form using your EditDocument code and see if you have the same problem.