Embedded view - NSD

I have an action button in the embedded view which performs some action and finishes by popping up a message box.

After the message box is popped up Lotus Notes spat out NSD and crashed to Windows. I could start Lotus Notes again, but the same problem occurs everytime the button is pressed.

My embedded view action button code looks like this:


’ walkaround to refresh doc fields properly

Call uidoc.GotoField(“anyfield”)

keybd_event &h78,0,0,0 ’ key down - to refresh view

keybd_event &h78,0,2,0 ’ key up

Call functionX

messagebox “abc”


Thanks in advance.

JJ

Subject: Embedded view - NSD - found the problem

The parent doc was not saved therefore an error was generated …

fixed now.