kupe
Technical User
- Sep 23, 2002
- 376
The fields in a Totals query come from another query. I want to add the total that is being calculated in one field to a given total in a new field.
The query for this new field might look like this
PlusHits: Sum([qryTrimmed].[ShortUrl]+[qryTrimmed].[Hits])
The Total line in QBE is set to Expression.
PlusHits is the new name for the field.
qryTrimmed is the query feeding this query.
ShortUrl is the field I want to add to the total in the Hits field of this new query.
Of course, it won't work like that. And I can't think how to name this new field - as it doesn't exist in the query that feeds this query.
Sounds complicated. Sorry. Yet there must be a way to have Access tot up the two fields. Musn't there?
The query for this new field might look like this
PlusHits: Sum([qryTrimmed].[ShortUrl]+[qryTrimmed].[Hits])
The Total line in QBE is set to Expression.
PlusHits is the new name for the field.
qryTrimmed is the query feeding this query.
ShortUrl is the field I want to add to the total in the Hits field of this new query.
Of course, it won't work like that. And I can't think how to name this new field - as it doesn't exist in the query that feeds this query.
Sounds complicated. Sorry. Yet there must be a way to have Access tot up the two fields. Musn't there?