To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60735
User msc changed the following:
What |Old value |New value
================================================================================
Status|UNCONFIRMED |RESOLVED
--------------------------------------------------------------------------------
Resolution| |WORKSFORME
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Fri Jan 20 01:49:03 -0800
2006 -------
Hi,
here is the basic code snippet
Sub before_record_change(o)
oForm = o.source
if oForm.supportsService("com.sun.star.form.component.Form") then
msgbox "is snew record = " + oForm.isNew()
endif
End Sub
Sub after_record_change(o)
oForm = o.source
if oForm.supportsService("com.sun.star.form.component.Form") then
msgbox "is new record = " + oForm.isNew()
endif
End Sub
You can assign the macros for the events after record change and before record
change.
By the way, I set this DEFECT to WORKSFORME now, because there is a solution for
this defect.
Bye Marc
---------------------------------------------------------------------
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]