Link to home
Start Free TrialLog in
Avatar of Michaelj42
Michaelj42Flag for United States of America

asked on

Access 2010 datasheet total fields blank

Gurus,

I have a query in Access 2010 which is the datasource for a form. I'm trying to get average fields to work in the form but they stubbornly remain blank. I've tried it several ways:


Using datasheet view and turning on the Totals row. I set all three columns totals to Average, but they stay blank.
User generated imageUsing continuous form view, with fields in the footer. One example column field is Qty, so my formula in the footer is =avg([qty])... You can see my three footer fields glumly remaining blank.
User generated image

As far as I can tell, all three columns are numbers, not text.

My source is a query that does do grouping and summarizing (Totals are turned on).
Avatar of XGIS
XGIS
Flag of Australia image

Hello Michaelj42....try the link below ..its access 2003 but that should not matter....

Aggregate Form Values

if you cant get it to work you could supply a cut down version with some dummy data, which will turn this issue around faster
Avatar of Anthony Perkins
I have a query in Access 2010 which is the datasource for a form
...
Topics: Microsoft Access Database, MS SQL Server


Since this question does not appear to be related to MS SQL Server you may want to request that Topic be deleted.
SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Michaelj42

ASKER

Here is a sample database with the data just in a table.
Database3.accdb
Thanks Hoag2000, please see the db I uploaded. The form is unchanged, the data is in a table rather than the query, but I still get #ERROR (before I was getting nothing at all, blank fields)
You sad the source was a query with Grouping...
All that is in this db is a table...?

The table summaries worked for me, and in your form, the summaries are at the "Bottom" of the form
Database3.accdb
I tried stripping it away from to query to isolate where the problem lay so in the sample db the source is simply 1 table that I made from the query I'm using in the live db.

The summaries don't work in the footer of the continuous form where they show error, or in the Totals row if I switch to datasheet, where they are just blank.

I'll try to get a sample db that also incorporates the query.
Here is a sample db that includes the query etc.
Database4.accdb
i will take a look for you..
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No worries Michaelj42,
maybe it was a binding issue based on type..
i did notice the examples show the order to be reversed ie field,qry vs qry,field....
its programming..anything is possible...most times it makes no sense but it works..and if it does that is awesome..
I want to accept multiple solutions, awarding you points for your help, but my own final analysis as the more correct solutions since it does seem to have been a bind order issue rather than a formula issue.