G
Guest
I have the following code....
What I need it to do is in the FeaturePoints if they have a DNF or DNS it
should give them 1 point for the DNF and 0 Points for a DNS
SELECT LateDriver.Class, LateDriver.[Car#], LateDriver.DriverName,
RaceDetail.[Car#], RaceDetail.Class, RaceDetail.RaceDate, RaceDetail.Heat,
RaceDetail.HeatPlace, RaceDetail.Feature, RaceDetail.FeaturePlace,
RaceDetail.Consy, RaceDetail.ConsyPlace, 6-[HeatPlace] AS HeatPoints,
31-[FeaturePlace] AS FeaturePoints, [HeatPoints]+[FeaturePoints] AS WeekTotal
FROM LateDriver LEFT JOIN RaceDetail ON LateDriver.[Car#] = RaceDetail.[Car#];
What I need it to do is in the FeaturePoints if they have a DNF or DNS it
should give them 1 point for the DNF and 0 Points for a DNS
SELECT LateDriver.Class, LateDriver.[Car#], LateDriver.DriverName,
RaceDetail.[Car#], RaceDetail.Class, RaceDetail.RaceDate, RaceDetail.Heat,
RaceDetail.HeatPlace, RaceDetail.Feature, RaceDetail.FeaturePlace,
RaceDetail.Consy, RaceDetail.ConsyPlace, 6-[HeatPlace] AS HeatPoints,
31-[FeaturePlace] AS FeaturePoints, [HeatPoints]+[FeaturePoints] AS WeekTotal
FROM LateDriver LEFT JOIN RaceDetail ON LateDriver.[Car#] = RaceDetail.[Car#];