To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90531
Issue #|90531
Summary|release database connexion obase ott odt merging
Component|Database access
Version|OOo 2.4.0
Platform|PC
URL|
OS/Version|Windows XP
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P1
Subcomponent|SRB
Assigned to|dbaneedsconfirm
Reported by|coufan
------- Additional comments from [EMAIL PROTECTED] Mon Jun 9 15:53:26 +0000
2008 -------
i have a macro to merging a.ott with a.odt located in a.odt
when i open a.odt, the first fusion work, when i reopen, the merging does not
work
in fact, the macro get a csv file, create a ods file and odb file to connect
a.ott and a.odt with a temporary datasource.
the odb file is locked thus macro do not kill this file.
what prevents the macro from killing the .odb file.
to kill .odb file, i have to kill quickstart.exe and all desktops open.
the code of merging is that :
Sub Publipostage()
Dim sDocumentModele As String, sRepertoireCible As String
Dim sNomTable As String, sNomSource As String
Dim oMonPublipostage As Object
Dim oMyProps()
sNomSource = csNomSource
sDocumentModele = csFichierLettreType
sRepertoireCible = csRepertoireResultat
sNomTable = csNomTableDonnees
oMonPublipostage = createUnoService("com.sun.star.text.MailMerge")
oMonPublipostage.DataSourceName = sNomSource
oMonPublipostage.CommandType = com.sun.star.sdb.CommandType.TABLE
oMonPublipostage.Command = sNomTable
oMonPublipostage.OutputType = com.sun.star.text.MailMergeType.FILE
oMonPublipostage..FileNameFromColumn = false
oMonPublipostage.DocumentURL = ConvertToURL(sDocumentModele)
oMonPublipostage.OutputURL = ConvertToURL(sRepertoireCible)
oMonPublipostage.SaveAsSingleFile = True
oMonPublipostage.execute(oMyProps())
oMonPublipostage.dispose()
end sub
i tested with ooo 240 and 30 beta dev m_17 unsuccessfully
---------------------------------------------------------------------
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]