On Thursday 05 May 2005 14:35, Orson Jones wrote:
> CPHennessy wrote:
> > On Wednesday 04 May 2005 14:54, Orson Jones wrote:
> >>I am trying to figure out how to do a basic database report in writer
> >>without using the report wizard.  In my case I want to make a phone
> >>directory from a data source.  I think I want to have a section repeat
> >>for each row in a table.  But I'm not sure how to make it work.
> >
> > Maybe you want to write a StarBasic script to generate your document
> > based on the contents of the data source ?
> >
> > Also why not use the report generator ?
>
> Because I want it to act like a normal document, not a report.
> I want a document where a portion of it can be automatically updated
> from a database.  The rest of it can be modified like a normal document.
>   I was hoping someone had done this type of thing before.  But, I guess
> I'll try playing around with the report generator some more.  It seems
> to create overly complex documents with little room for modification.
> But again, I haven't played with it much at all.  Maybe it can do what I
> want.  I just don't know how yet.
>
> Orson
>
> PS.
> Another example of the type of thing I am trying to do.
>
>
>
> Dear Sir,
>
> Say you are writing a letter or report to someone.  Perhaps it is a
> monthly/quarterly status report.  Somewhere in the body of the letter
> you want to include some data from a database.  You go and insert a
> database link that runs a query and outputs the current data.

Well if you are comfortable in some programming language then why not simply 
generate the document outside of OpenOffice.org ?
OOo files are only zipped xml files. Construct an example doc, then unzip the 
file and have a look at content.xml

-- 
CPH : openoffice.org contributor

Maybe your question has been answered already?
                                http://user-faq.openoffice.org/#FAQ

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to