archcommus
Diamond Member
I'm probably going to have a number of SQL and database related questions over the course of the next few months, so I might as well ask them in one place on the trusty AT boards.
My question for tonight is this: Is there any way to pull a particular field from only records containing certain criteria throughout a table, and then summing those fields? I need to calculate a field (call it A) that depends on the total of another field (call it X) added up across only records that match a third field (call it Y) of the record I'm calculating A for.
Know what I mean?
Any help over the weekend would be appreciated!
My question for tonight is this: Is there any way to pull a particular field from only records containing certain criteria throughout a table, and then summing those fields? I need to calculate a field (call it A) that depends on the total of another field (call it X) added up across only records that match a third field (call it Y) of the record I'm calculating A for.
Know what I mean?
Any help over the weekend would be appreciated!