To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52459





------- Additional comments from [EMAIL PROTECTED] Tue Mar 21 00:30:43 -0800 
2006 -------
I think this related to this issue, if not I can always open another.

In working with 2.0.2 I have found a difference between the events Before Record
Change and After Recrod change.

Attached is another small test database, one table and one form. The form has
the Before Record Change and After Record Change events of the main dataform
control assigned to the follwoing sub procedures. ( if you create a new library
and name it Tasker the links will be fine, if you copy this into a different
library then of course you must change the forms defintion)

sub onBeforeRecordChange( oEvent as variant )
        print "Before Record Change"
        print oEvent.Source.ImplementationName
end sub

sub onAfterRecordChange( oEvent as variant )
        print "After Record Change"
        print oEvent.Source.ImplementationName
end sub

When Form1 is opened each of these procedures is called once, and each with a
source object of type com.sun.star.comp.forms.ODatabaseForm.

When you move to the second record however the difference arises. The procedure
onBeforeRecordChange will be called twice, the first time with a source object
of type com.sun.star.form.FmXFormController and the second time with
com.sun.star.comp.forms.ODatabaseForm. The onAfterRecordChange procedure is
called only once, with the source object of type ODatabaseForm. I assume the
later is correct and the former an error.



---------------------------------------------------------------------
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]

Reply via email to