AVERAGE function error

S

Steven

Hi. I have the following sql statement:
SELECT AVG(grade) FROM tblEvalGrades WHERE SSN='123456789'

I get the following SQL error when trying to output my
table in my datagrid with ASP.Net C# (the error is in
Access AVG() function though... it is not an ASP.Net
error):
ERROR: Decimal byte array constructor requires an array
of length four containing valid decimal bytes

The field Grades that I have are GPAs. I am using an
Access database, and the field grade is Precision 4, Scale
2, and Decimal Places 2. Could someone tell me what I
need to do to get rid of the error. Thank you in advance.

Steven
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top