From: Bob D. <bd...@si...> - 2003-11-21 16:48:29
|
On Fri, 2003-11-21 at 11:33, Everton Luis Berz wrote: > i'm creating some examples for rlib and need a help: > - how to put date and time of report? (i think it's come from php > variables, how to export for rlib xml?) if in php you had: $some_date = "2003-01-01" in rlib you do <field value="m.some_date"/> The key here is use m.whatever Keep in mind that the date has to be formatted in: YYYY-MM-DD Also.. global variables must be turned on in PHP If not Chet added something to rlib 1.1.4 so you can do rlib_add_parameter($rlib, "some_name", "some_value"); so basically you can do rlib_add_parameter($rlib, "some_name", "some_value"); Or if you want the current server date from rlib you can do <field value="date()"/> > - why at pagefooter i cannot put horizontal lines and <text width> not > applying in html format? (at pageheader works) > >From your example I don't see you using any <HorizontalLine size="whaterver" bgcolor="'whatever'"/> Can you send me a more specific example?? Thanks :) > try put on page footer and compare pdf and html: > <PageFooter> > <Output> > <Line> > <text>Page: </text> > <field value="r.pageno" width="3" align="right"/> > <text width="63"/> > <text>http://rlib.sicompos.com</text> > <text width="1"/> > </Line> > </Output> > </PageFooter> |