To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94593
------- Additional comments from [EMAIL PROTECTED] Thu Oct 9 13:45:49 +0000
2008 -------
I found the problem.
It's not related to java/sql connection, but with macros.
With ooo 2.4.1, i can use this function to close my form:
Sub CloseForm()
ThisComponent.CurrentController.Frame.close(True)
end sub
But with ooo 3, the function close the form but it's impossible to close the odb
file.
If I use these functions, it works fine:
Function curFormName (o as object) as string
'Fonction qui permet de récupérer le nom du formulaire
Dim args as object, i as integer
args = o.getArgs
for i = lBound(args) to uBound(args)
if args(i).name = "DocumentTitle" then
curFormName = args(i).value
exit for
end if
next
End Function
Sub FermerFormulaireDansBase(oEvent)
thisComponent.parent.FormDocuments.getByName(curFormName
(thisComponent)).dispose()'ferme le formulaire
end sub
---------------------------------------------------------------------
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]