Why doesn't edit command give focus to document?

The script of an Action hotspot in a database, ends with creating a new document (docLog) in another databasewith the final lines being

     Call ws.EditDocument(True, docLog)

End Sub

(docLog is not yet saved at this stage).

The new docLog document opens up in a new window, but that windows doesn’t get focus. Focus remain with the page/frameset where the hotspot is.

Any idea why the new document doesn’t open completly for editing in UI ?

Subject: Sounds like you need to specify a target (WAS: Why doesn’t edit command give focus to document?)

Subject: - or actually to turn off the debugger… :frowning: Sorry, for silly question

Subject: Ah yes, it always does that then :wink: (WAS: or actually to turn off the debugger… :frowning: Sorry, for silly question )