On Friday 13 February 2009 01:37:48 pm Adrian Klaver wrote: > On Friday 13 February 2009 10:51:22 am johnf wrote: > > On Friday 13 February 2009 10:38:13 am Paul McNett wrote: > > > johnf wrote: > > > > On Friday 13 February 2009 09:34:06 am Paul McNett wrote: > > > >> If your answers are "less than a page" and "no", then I'd say Dabo's > > > >> reportwriter has a high likelihood of working for you. > > > > > > > > Yes these are single page templates. Any suggestion on what format > > > > the template should be? > > > > > > If it were me I'd give the user access to the report designer at > > > runtime, to modify the .rfxml to position the pieces based on some > > > boilerplate. > > > > > > Then give them a ui to edit the contents of the letter. Python offers > > > templating built-in but all I've ever used is straight string > > > formatting (which I don't recommend using for this). Example of that: > > > > > > letter = """ > > > Dear %(client_name)s, > > > > > > Thanks for the recent payment on invoice %(invoice_num)s... > > > """ > > > > > > Then when you go to run the report, you fill in the values in the > > > dataset sent to the reportwriter first so that self.Record.letter for > > > that record has the expanded letter. > > > > > > Paul > > > > Boy I'm stuck in a hard place. I know that the client does not like > > using report writers. I provided firefox and then stonefield. Which in > > the end they never used beyond what I provided. Just to hard to > > understand was the comments I got. > > > > I don't know what I'm going to do! I guess just use the OpenOfficer > > server idea and teach them where the templates are for editing. > > Might want to take a look at Report Manager: > http://reportman.sourceforge.net/ > > Has two types of servers to allow users to pull up canned reports and fill > in parameters.
Thanks everyone. So far what I have is a OpenOffice server working. It works with "pyuno.py". In a very lose way works like a com object in windows. Because I'm using a Linux OpenOffice server it appears to work with python 2.5. The report writer that is offered by OpenOffice is similar to firefox and stonefield. So I doubt I'll get the clients to use it. I'll install and set it up away that way I can get some quick reports out. Again thanks everyone. -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
