Since I don't know how to access what I need using the GUI ReportDesigner,
I decided to try to figure out the rfxml file itself. After looking through
the wiki and other site pages, I still am stumbling around.

   Toward writing the report formats I need, I'll try to ask specific
questions. First one involves this code from the demo's invoice.rfxml (which
is what I'll use as a template for understanding):

<variables>
                 <Variable>
                         <expr>self.clientBalance + self.Record["amount"]</expr>
                         <initialValue>decimal.Decimal('0.00')</initialValue>
                         <name>clientBalance</name>
                         <resetAt>self.Record['clientid']</resetAt>
                 </Variable>
                 <Variable>
                         <expr>self.Variables['timeCodeBalance'] + 
self.Record['amount']</expr>
                         <initialValue>decimal.Decimal('0.00')</initialValue>
                         <name>timeCodeBalance</name>
                         <resetAt>"%s-%s" % (self.Record['clientid'], 
self.Record['timecodeid'])</resetAt>
                 </Variable>

   Are 'self.clientBalance,' and 'timeCodeBalance' methods/functions in the
application, while 'self.Record[]' is the Dict_cursor supplying the specific
data?

   As I look at invoice.rfxml, I get the impression that the Variables group
represents the details printed for each record in the database/Dict_cursor.
Is that correct?

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to