Le/The Vendredi 24 Novembre 2006 09:18, phannon@... a =E9crit/wrote=
> Apologies for asking these question if they have been asked before.
> Are there any notes on writing ones own report?
> As I would like to try writing a 'simple' report .
I'm writing one since a few weeks and it took to me approximatively=20
two hours to understand how it works reading the source.
What I did :
in src/plugins, copy one source.py to YourSource.py
In src/plugins/Makefile, add YourSource.py to the pkgdata_PYTHON variable.
modify the function register_report with your values.
Modify the function names in the source and in the register_report functio=
report_class and options_class must point to your new function names.
When the report is called, you enter in the write_report function.
Do I miss something ? It works for me.
=46or your Info :=20
The new report I am writing is to list all persons in the database with a t=
I have a database with several trees ( about 100 ).
=46or each person in the database, if he has no family, it's a new tree.
So print it.
During the tree printing, I save I print this person. If I see a person alr=
I write in the report this person has already been printed in the tree numb=
er X at level N.
> Is there a place on the web where reports that don't qualify for
> inclusion in the finished program are stored?
> I don't want to reinvent the wheel.
> I realise that this sort of thing can end up as dangerous but they can
> be made available on the basis that the user tries them at their own risk.
> Pat Hannon