Hi Roger:
I need to use StDev in an aggregate query. My report is
gouped by Department and I want to report Average and
Standard Deviation on Department Report, that means the
query will be grouped by Department and each Department
has its Report. But when I change DStDev to StDev, I got
an error message: "The expression you entered has function
containing the wrong number of arguments". Can you figure
out what the problem is based on this message? I am
suspecious that my access may not have this function
because I tried to access help for StDev, I got an error
message:"An error occurred and this feature is no longer
functioning properly. Would you like to repair this
feature now?" But when I clicked OK, my computer
generated another error message:"Microsoft access cannot
install the necessary files due to windows installer error
1603. Fatal error during installation."
Any ideas about these problems? I appreciate you responses.
Thanks.
Charles
-----Original Message-----
I really don't know. I would look at the query "SLA S- 04
Query 3" to see if
something there is causing the problem. Perhaps there
is something in the
query the DStdDev function does not like it.
But now you've got me confused. Are you using StDev in
an aggregate query
or DStDev on a report?
--
--Roger Carlson
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?
SUBED1=ACCESS-L
Hi Roger:
You are right. The syntax in my previous message is
correct. Actually I tried to goup the data before the
standard deviation is calculated. But when I use StDev
or
StDevP, I got an error message:
"The expression you entered has function containing the
wrong number of arguments".
Is there any problem with my Access installation or the
syntax StDev or StDevP does not work? Your response or
any suggestion will be very appreciated.
Charles
-----Original Message-----
As far as I can tell, it has nothing to do with your
syntax. It works
perfectly for me. Something else is going on. Look
farther afield.
--
--Roger Carlson
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?
SUBED1=ACCESS-L
"Charles Deng" <
[email protected]>
wrote in message
Hi All:
I tried to post standard deviation on my report but
the
following syntax does not work (Report shows
#error.).
Could anyone do my a favour to check what is wrong
with
my
syntax:
=DStDev("[q1]", "SLA S-04 Query 3", "[q1]>0")
Where q1 is variable name in SLA S-04 Query 3 which
is
the
query my report is based. All records in q1 are
numberic
and I successfully reported average of q1. By the
way
my
report is sorted by Department which is not shown in
the
syntax.
Any suggestion and advice will be highly appreciated.
Thanks.
Chalres
.
.