jatalven
asked on
Quickreport and grouping
I'm working with database table where is for example workers number, name, main contractors number and contact person, subcontractors number and contact person, our contact person etc.
I need report where data is grouped in 4 levels by:
Our contact person
Main contractor and contact person
Subcontractor and contact person
Workers data
Can I do this so that data is in one database component or shall I need many components?
I get this almost work with 4 query components but if our contact person have many main contractors, only first one is printed on report and also if main contractor have many subcontractors, only one is printed.
I need report where data is grouped in 4 levels by:
Our contact person
Main contractor and contact person
Subcontractor and contact person
Workers data
Can I do this so that data is in one database component or shall I need many components?
I get this almost work with 4 query components but if our contact person have many main contractors, only first one is printed on report and also if main contractor have many subcontractors, only one is printed.
ASKER
Hmms, now I have one query where is all the data.
Put I 4 group bands or how?
Expressions is also what I don't understand.
Put I 4 group bands or how?
Expressions is also what I don't understand.
>Put I 4 group bands or how?
yes, four groupbands, or three, if there are no additional details
(Workers data could be a detail)
Our contact person
Main contractor and contact person
Subcontractor and contact person
Workers data <-- Detail?
or
Our contact person
Main contractor and contact person
Subcontractor and contact person
Workers data
DetailData
>Expressions is also what I don't understand.
Expressions -> means groupExpression -> usually the field on which should be grouped
yes, four groupbands, or three, if there are no additional details
(Workers data could be a detail)
Our contact person
Main contractor and contact person
Subcontractor and contact person
Workers data <-- Detail?
or
Our contact person
Main contractor and contact person
Subcontractor and contact person
Workers data
DetailData
>Expressions is also what I don't understand.
Expressions -> means groupExpression -> usually the field on which should be grouped
ASKER
Alright!
>>Put I 4 group bands or how?
>
>yes, four groupbands, or three, if there are no additional details
>(Workers data could be a detail)
>
> Our contact person
> Main contractor and contact person
> Subcontractor and contact person
> Workers data <-- Detail?
Now everything else is printed rigth but all columns are printed under our first contact person.
>>Put I 4 group bands or how?
>
>yes, four groupbands, or three, if there are no additional details
>(Workers data could be a detail)
>
> Our contact person
> Main contractor and contact person
> Subcontractor and contact person
> Workers data <-- Detail?
Now everything else is printed rigth but all columns are printed under our first contact person.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Phiuh!
Oops, to contact person has forgotten wrong dataset. My fault =)
Now it's working just right, just before I begin to modify it but now report is printed in ten seconds, before it takes abaut 15 minutes.
Thanks a lot!!!
Oops, to contact person has forgotten wrong dataset. My fault =)
Now it's working just right, just before I begin to modify it but now report is printed in ten seconds, before it takes abaut 15 minutes.
Thanks a lot!!!
glad you got it sorted :-))
good luck again
meikl ;-)
good luck again
meikl ;-)
use one query, which collects the data you need, ensure there,
that the query order by clause matches your grouping-scheme
meikl ;-)