To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=69239
------- Additional comments from [EMAIL PROTECTED] Thu Sep 21 00:33:06 -0700 2006 ------- With "delete a line item", I assume you mean deleting a line from the grid control? By using its context menu, or by using the toolbar's "Delete" button? Also, with your latest bugdoc, the macro is never called, since it is not assigned to any event in the form. Instead, an event is assigned to the "Before record action" event of the grid's sub form, but the respective macro is not in the form (thus the error message). Also, the macro you pasted above has an inconsistency between the function name (onConfDelInvDetail) and the return value assignment in the function body (onConfirmDelete). Anyway, I assume nothing of this is really related to the problem. Instead, it seems that somehow, when you switch away from the form and back, or after showing the error message, Base thinks that the *main form* is the active one - thus, the "Delete" button in the toolbar applies to the main form, while the user thinks it applies to the sub form. That way, the main form's record is deleted, which looks as if all sub form records are deleted. I will do further investigations, and try to strip down the scenario. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]