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. -- 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]
