Cosmos75
Registered User.
- Local time
- Today, 14:57
- Joined
- Apr 22, 2002
- Messages
- 1,280
Not sure if this belongs here in Queries or Modules and VBA but I'll take my chances!! As I have no idea how this would be acomplished with queries, I decided to try my luck here...
I have this info
tblEmissionUnit
UnitID (PK)
UnitDesc (Text)
EmissionRate1 (Number)
EmissionRate2 (Number)
EmissionRate3 (Number)
EmissionRate4 (Number)
tblEmissionStandard
EmissionStandardID (PK)
EmissionStandard1 (Number)
EmissionStandard2 (Number)
EmissionStandard3 (Number)
EmissionStandard4 (Number)
- TblEmissionUnit represents an Emission Unit and it’s Emission Rates (four of them).
- TblEmissioniStandard represents the permissible emission limit for each respective Emission Rate (Cumalitive). Only one record for this table.
I want to have a reports of all the combinations of units where the SUM of EmissionRate1 is less than it’s respective Standard (for all EmissionRate 1 through 4).
e.g. EmissionRate1 (Unit 1) + … + EmissionRate1 (Unit X) <= EmissionStandard1
Need ALL combinations that are <= EmissionStandard1 (e.g. Unit1+ Unit3+ Unit8).
Is there anyway to do this?
I have this info
tblEmissionUnit
UnitID (PK)
UnitDesc (Text)
EmissionRate1 (Number)
EmissionRate2 (Number)
EmissionRate3 (Number)
EmissionRate4 (Number)
tblEmissionStandard
EmissionStandardID (PK)
EmissionStandard1 (Number)
EmissionStandard2 (Number)
EmissionStandard3 (Number)
EmissionStandard4 (Number)
- TblEmissionUnit represents an Emission Unit and it’s Emission Rates (four of them).
- TblEmissioniStandard represents the permissible emission limit for each respective Emission Rate (Cumalitive). Only one record for this table.
I want to have a reports of all the combinations of units where the SUM of EmissionRate1 is less than it’s respective Standard (for all EmissionRate 1 through 4).
e.g. EmissionRate1 (Unit 1) + … + EmissionRate1 (Unit X) <= EmissionStandard1
Need ALL combinations that are <= EmissionStandard1 (e.g. Unit1+ Unit3+ Unit8).
Is there anyway to do this?
Last edited: