https://bugs.documentfoundation.org/show_bug.cgi?id=92617

--- Comment #27 from Lionel Elie Mamane <lio...@mamane.lu> ---
(In reply to Lionel Elie Mamane from comment #26)
> (In reply to tim from comment #4)
> 
> > I am in one form's (A) subform (B).  From there I open another form (C) that
> > contains a subform (D).  
> 
> > If the focus is on subform (D) when form (C) is closed then tracing my
> > macros I get to form D's afterupdate macro which seems to execute OK (all
> > the values look to be correct) but on ending that macro Base crashes.
> 
> > If I manually move the focus from (D) to (C) before closing (C) then no
> > crash occurs.
> 
> Reading from what Caolan explains, I think that is because moving the focus
> from (D) to (C) does the row insertion. You will find that clicking on the
> "save record" button should have the same effect.

You could also try to commit the changes (do the write to database) from the
ExitTable3 macro before calling oController.close().

I'm not yet convinced this is not our bug. You shouldn't have to take these
precautions. It should just work. I'm looking into it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to