To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69239
Issue #|69239
Summary|Basic IDE changes apporval listener
Component|Database access
Version|OOo 2.0.3
Platform|All
URL|
OS/Version|Windows XP
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P4
Subcomponent|none
Assigned to|dbaneedsconfirm
Reported by|atjensen
------- Additional comments from [EMAIL PROTECTED] Mon Sep 4 06:25:55 -0700
2006 -------
Steps ( in order ) required to reproduce this:
1 ) Open the Basic IDE and load the standard library. If you do not have a
module3 crate one.
2 ) Copy this code into Module3 and save the library. Do no close the basic IDE.
const cInvShipped = "SHIPPED"
const cMsgTitle = "Delete Invoice Detail Line"
function onConfDelInvDetail( oEv ) as boolean
dim oInvStatus
onConfirmDelete = False
oInvStatus = oEv.Source.Model.Parent.Columns.getByname( "Status" )
if oInvStatus.getString <> cInvShipped then
select case msgBox( "Remove this product?", 1, cMsgTitle )
case 1 : onConfirmDelete = True
case 2 : onConfirmDelete = False
end select
else
msgBox( "You may not remove a product line " _
& chr(13) _
& "item from an invoice marked as " _
& chr(13) & cInvShipped, 48, _
cMsgTitle )
end if
end function
3 )Open the attached database, demo.db
4 ) Open the form Invoice.
5 ) Try to delete a line item. You should recieve a warning and the line not be
delete.
6 ) Toggle back to the basic IDE. Change anything in any module. Add an extra
linefeed, change anything.
7 ) Taggle back to the Invoice form. Again try to delte a line item. This time
the system generated message box will be displayed.
8 ) Answer yes.
All records displayed on the form, both in the sub-form and the main form will
be deleted.
To reproduce again. Close the database without saving, reopen and start from
step 4
---------------------------------------------------------------------
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]