forget it.. (I really mean it)

On 9/28/06, Knut Olav Bøhmer <[EMAIL PROTECTED]> wrote:

Hi,

In the IDL documentation is says that if the DocumentURL is not set, a new
empty document is created.
( 
http://api.openoffice.org/docs/common/ref/com/sun/star/text/MailMerge.html#DocumentURL
)
But I get this error:  "OutputURL is not set and can not be obtained" on
oMailMerge.execute( mEmptyNamedValue() )

    oMailMerge = CreateUnoService("com.sun.star.text.MailMerge")
    oMailMerge.DataSourceName     = "foodb"
'    oMailMerge.DocumentURL        = nil
    oMailMerge.CommandType        = com.sun.star.sdb.CommandType.TABLE
    oMailMerge.Command            = "foodb"
    oMailMerge.OutputType         = com.sun.star.text.MailMergeType.FILE
    oMailMerge.SaveAsSingleFile   = True
    oMailMerge.FileNameFromColumn = False
    oMailMerge.Filter              = nil

Is this a bug or feature? (I'll report it if it is a bug) Or, am I doing
something wrong?



--
Knut Olav Bøhmer




--
Knut Olav Bøhmer

Reply via email to