From: James Cicenia <james@ji...> - 2004-04-28 15:08:22
I am about to start to try to create a reporting system in earnest this
I still don't understand how a user can select which attributes of an
to list with D2W? I have a D2W version of my product running in
to test this, and, unless I use the assistant I don't see any other
dynamically picking which attributes to list.
Basically, I would like to give the users a way to search, list, sort
Of course I will need to add an additional query to stop them from
each others data. Finally, pdf or excel would be sweet as a button on
If anyone can give me a guide here on what to do, what to study
or better yet, code samples, I would greatly appreciate it.
From my limited knowledge ...
On 28/04/2004, at 11:08 PM, James Cicenia wrote:
> I still don't understand how a user can select which attributes of an
> to list with D2W? I have a D2W version of my product running in
> to test this, and, unless I use the assistant I don't see any other
> method of
> dynamically picking which attributes to list.
I believe the rule system is two-way your code can access the results
of the rule system (as the components do), and you can effect the rule
system with your code.
The whole EOModel with EOEntity and EOAttribute objects is constructed
in memory when the model is loaded. You can access any EOEntity's list
of EOAttributes for that entity. With this you can give your users a
choice to select the required attributes. You can then setup a rule to
get this list of attributes from your code somewhere (probably best
stored in the page).
I'm not too sure on the specifics, but that is the general approach, I
I have been interested in something like this for a long while - basic
list-based reporting (with exporting to Excel etc). List pages already
give you sorting, I think there is an button in Wonder to let you
filter lists (sub-queries), and people are currently updating the stuff
to help with writing to Excel files. PDF is a bit more work.
If you can, perhaps you can include it in Project WONDER, and then we
(or at least I when I get around to it) can also work on it).
I can see how you could easily include simple totals (averages, counts,
etc.) as well using the a list-based page. Not sure how DynaReporting
would fit into it though. Have you checked that out? It is reporting
I hope that is some help. Someone please correct me if I am wrong ...
Perth, Western Australia
mrhatken at mac dot com