Oh, I see thanks
Here you go:
SELECT Risk_Data.[Near Miss], Sum(IIf([Risk_Data]![Near Miss]="Near Miss",1,0)) AS totmisses, Sum(IIf([Risk_Data]![Near Miss]="Actual Event",1,0)) AS totact, [totmisses]/[totact] AS ratio
FROM Risk_Data;
Im still getting the error
"You tried to execute a...