Hi Paul,
On 04/06/2013 03:34, Paul McNett wrote:
...
Dabo's reportwriter wants dataset-like structures, which is a sequence (list,
tuple)
of mappings (dict), where each key in the mapping is a field name, and each
item in
the outer sequence is a "record".
When defining the fields in the report designer could I do something like
"getMyRelInfo(self.Record, 'rel1.rel2.fieldname')" and getMyRelInfo would
return the
fields content or blank?
I don't advise going down that path - it would be working against the design.
If that is not possible then I just need to get SA to return a sequence, I
think that
is possible but not sure.
You should be able to get a sequence out of SA. I mean, SA gives you the data,
right?
I have no problem of getting at the denormalized data with SA, I then
get a list of records but I haven't figured out how to get the record as
a dict with colname/value pairs.
Will work on that next.
See you
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]