No document in that direction!

Error message: “No document in that direction!”

When: From a lotusscript u open a doc in your db and then try to create a response to that doc in the GUI.

Example:

  1. Set doc = view.GetDocumentByKey(EMPLOYEEID)

  2. Set uidocExist = ws.EditDocument(False, doc, False, , True, False)

  3. Set uidocNew = ws.ComposeDocument( , , “FCFE”, , , True)

The “FCFE” form is defined as “response” form. When uidocExist is opened in the GUI, line 3. should open a new uidoc with “FCFE” form as response to doc

The error I get is the one mentioned above.

Appreciate any kind of hint, workaround, help…