T
Ticotion
Hi
I have once again problems using access 2003 chart possibilities.
I have a form that filters a report using the following code:
DoCmd.OpenReport "Rpt_SIMparetoH", acPreview, , "[Sektor] =" &
Me.Kombinationsboks16 & " and [Dato] = #" & Format(Me.Kombinationsboks7,
"mm\/dd\/yyyy") & "#", , acWindowNormal
I then have a report that builds on the following query
SELECT qrySimSektorparetoh.Dato, qrySimSektorparetoh.Sektor,
qrySimSektorparetoh.Fejlårsag, qrySimSektorparetoh.[Fejlen hyppighed],
qrySimSektorparetoh.[Hyp total], qrySimSektorparetoh.[Hyp procent]
FROM qrySimSektorparetoh
WHERE
(((qrySimSektorparetoh.Dato)=[Forms]![frmSIMpareto]![Kombinationsboks7]) AND
((qrySimSektorparetoh.Sektor)=[Forms]![frmSIMpareto]![Kombinationsboks16]));
in the report I've placed a chart that have the following source code
SELECT qrySIMParetoHyppighed.Dato, qrySIMParetoHyppighed.Sektor,
qrySIMParetoHyppighed.Fejlårsag, Sum(qrySIMParetoHyppighed.[Fejlen
hyppighed]) AS [Fejl Hyp], Sum(qrySIMParetoHyppighed.[Hyp procent]) AS [Hyp
pct]
FROM qrySIMParetoHyppighed
GROUP BY qrySIMParetoHyppighed.Dato, qrySIMParetoHyppighed.Sektor,
qrySIMParetoHyppighed.Fejlårsag
HAVING
(((qrySIMParetoHyppighed.Dato)=[Forms]![frmSIMpareto]![Kombinationsboks7])
AND
((qrySIMParetoHyppighed.Sektor)=[Forms]![frmSIMpareto]![Kombinationsboks16]))
ORDER BY Sum(qrySIMParetoHyppighed.[Fejlen hyppighed]) DESC;
I've linked the two using Sektor both as master and as child. The problem is
that I recieve an empty chart. Can anyone help?
Once again thank you for all your help
Ticotion
I have once again problems using access 2003 chart possibilities.
I have a form that filters a report using the following code:
DoCmd.OpenReport "Rpt_SIMparetoH", acPreview, , "[Sektor] =" &
Me.Kombinationsboks16 & " and [Dato] = #" & Format(Me.Kombinationsboks7,
"mm\/dd\/yyyy") & "#", , acWindowNormal
I then have a report that builds on the following query
SELECT qrySimSektorparetoh.Dato, qrySimSektorparetoh.Sektor,
qrySimSektorparetoh.Fejlårsag, qrySimSektorparetoh.[Fejlen hyppighed],
qrySimSektorparetoh.[Hyp total], qrySimSektorparetoh.[Hyp procent]
FROM qrySimSektorparetoh
WHERE
(((qrySimSektorparetoh.Dato)=[Forms]![frmSIMpareto]![Kombinationsboks7]) AND
((qrySimSektorparetoh.Sektor)=[Forms]![frmSIMpareto]![Kombinationsboks16]));
in the report I've placed a chart that have the following source code
SELECT qrySIMParetoHyppighed.Dato, qrySIMParetoHyppighed.Sektor,
qrySIMParetoHyppighed.Fejlårsag, Sum(qrySIMParetoHyppighed.[Fejlen
hyppighed]) AS [Fejl Hyp], Sum(qrySIMParetoHyppighed.[Hyp procent]) AS [Hyp
pct]
FROM qrySIMParetoHyppighed
GROUP BY qrySIMParetoHyppighed.Dato, qrySIMParetoHyppighed.Sektor,
qrySIMParetoHyppighed.Fejlårsag
HAVING
(((qrySIMParetoHyppighed.Dato)=[Forms]![frmSIMpareto]![Kombinationsboks7])
AND
((qrySIMParetoHyppighed.Sektor)=[Forms]![frmSIMpareto]![Kombinationsboks16]))
ORDER BY Sum(qrySIMParetoHyppighed.[Fejlen hyppighed]) DESC;
I've linked the two using Sektor both as master and as child. The problem is
that I recieve an empty chart. Can anyone help?
Once again thank you for all your help
Ticotion