eggwater
life as a rehearsal
- Local time
- Today, 10:30
- Joined
- Aug 14, 2003
- Messages
- 69
hello
can anyone tell me how I can implement this SQL expression in a text box on a form
SELECT Accom_record_card.Export_ctrl, Count(Accom_record_card.Export_ctrl) AS CountOfExport_ctrl
FROM Accom_record_card
GROUP BY Accom_record_card.Export_ctrl
HAVING (((Accom_record_card.Export_ctrl)="2"));
I can't find anything similar anywhere.
Alternatively how can I implement a Count function to count all the occurances of Export_ctrl="2" - I keep getting syntax and type mismatch errors.
can anyone tell me how I can implement this SQL expression in a text box on a form
SELECT Accom_record_card.Export_ctrl, Count(Accom_record_card.Export_ctrl) AS CountOfExport_ctrl
FROM Accom_record_card
GROUP BY Accom_record_card.Export_ctrl
HAVING (((Accom_record_card.Export_ctrl)="2"));
I can't find anything similar anywhere.
Alternatively how can I implement a Count function to count all the occurances of Export_ctrl="2" - I keep getting syntax and type mismatch errors.