Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Avg calculated fields

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
My module has a function that's receiving an array of multiple fields, from a query.&nbsp;&nbsp;A field in my query is calling the function.&nbsp;&nbsp;I need to get the average of this calculated field to display in the report.&nbsp;&nbsp;But it keeps giving me &quot;Jet doesn't recognized SQL statement, some field has invalid data type&quot;&nbsp;&nbsp;The calculated field is integer type.&nbsp;&nbsp;Instead of calling a function, and just having <br>Field: ([a] + <b>)...there would be no problem when i try to get the average of it.&nbsp;&nbsp;I need to use the function though.&nbsp;&nbsp;<br>Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top