K
Keith
My questions are not showing up??????
Going NUTS
Have 3 fields one sum works fine. one count works fine need to add another
count but with exception. In english: count all BUT do not count ones with
NON_REV as the data.
People are giving me code but I do not know how to splice it into this:
SELECT Sum(PassSub.Pass) AS TOTALPASS, Count(PassSub.[Record #]) AS TRIPS
FROM [Passenger Check Inbound] INNER JOIN PassSub ON [Passenger Check
Inbound].[Record #] = PassSub.[Record #];
The code people gave me varies
1.) =Sum(If([FieldName]="Non_Rev",0,1)) If this works how do I splice
it into the above ?
2.) SELECT COUNT(MyField)
FROM MyTable
WHERE MyField <> "NON_REV" again if this one is right how do I
splice it into the above? I am in design view when I created the first
two....
Any help Thanks in advance....
Going NUTS
Have 3 fields one sum works fine. one count works fine need to add another
count but with exception. In english: count all BUT do not count ones with
NON_REV as the data.
People are giving me code but I do not know how to splice it into this:
SELECT Sum(PassSub.Pass) AS TOTALPASS, Count(PassSub.[Record #]) AS TRIPS
FROM [Passenger Check Inbound] INNER JOIN PassSub ON [Passenger Check
Inbound].[Record #] = PassSub.[Record #];
The code people gave me varies
1.) =Sum(If([FieldName]="Non_Rev",0,1)) If this works how do I splice
it into the above ?
2.) SELECT COUNT(MyField)
FROM MyTable
WHERE MyField <> "NON_REV" again if this one is right how do I
splice it into the above? I am in design view when I created the first
two....
Any help Thanks in advance....