On 6/3/13 7:31 AM, Werner F. Bruhin wrote:
> Hi Paul,
> 
> On 03/06/2013 15:23, Paul McNett wrote:
>> On 6/3/13 1:25 AM, Werner F. Bruhin wrote:
>>> You mentioned in the thread I started on the ReportLab list that Dabo's
>>> ReportDesigner deals nicely with large text fields.
>>>
>>> I thought I better have another look at it;-) , so cloned the latest on 
>>> github and
>>> looked at the screen casts.
>>>
>>> One hurdle is that most menu items in the designer don't show their label.
>> I remember someone else mentioning this and can't remember the solution. 
>> However
>> remember we are still using wx2.8.
> That could be it, as I normally work on 2.9.5, will check and get back on it. 
>  I
> assume you would accept a pull request to make it 2.9.5 and/or Phoenix 
> compatible:-) .

Absolutely. In addition to menu problems, there are grid problems, but when I 
tested
against 2.9.4 it mostly worked just fine. I'd love to support Phoenix and 
Python 3.3.

>> 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?

> Can you give me a pointer on where to look in Dabo's code to see how I run a 
> report
> and give it the data.

Look at the self-contained runnable invoice example in
dabo/lib/reporting_tests/invoice_demo.

Paul

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

Reply via email to