Two table report problem

1 view
Skip to first unread message

Vicky

unread,
Aug 31, 2009, 4:20:54 PM8/31/09
to Ruby Reports
Hi there

I have implemented a report based on the Bibliophile example - it
works fine so Thanks!!
I even have various search options in the app.

My problem is that I have difficulty coming to grips with 'variables'
and their scope!!
Like the Bibliophile example, my report has more than one table.
(really only using two for the report so far).
I have added the linked data item (aka the author name) into the main
report, BUT I really want it to appear as part of the heading for the
report as I filter the records out. Would be like putting the author
name into the heading and producing a list of all books for author.
I lose the plot when it comes to the definitions for the report
heading, and where everything belongs.
I wonder if I need an 'author' controller (your example does not have
one) and if so, what should be in it? Or, should the heading detail be
part of the report controller?
I am very new to Ruby - just dabble every now and then but this is the
closest we have got to maybe implementing something!!
I have a copy of The Ruport Book - great, but a bit abstract for me
really - and lot of use of console - I have difficulty going from
console to the app?
Would appreciate any help at all!!

Cheers
Vicky
Reply all
Reply to author
Forward
0 new messages