I'm trying to open a recordset in a form using a query (NET_qrytotals) in which I total all records:
I get an error in the form:
Run-time error 3061: Too few parameters. Expected 1.
Any suggestions?
Thanks!
Code:
SELECT Sum(NET_tblReservation.NoParticipants) AS SumOfNoParticipants, NET_tblReservation.RRID
HAVING (((NET_tblReservation.RRID)=[Forms]![NET_frmRoomReservationRequest]![RoomRequestID]));
I get an error in the form:
Code:
Set rst2 = CurrentDb.OpenRecordset("SELECT * FROM NET_qrytotals;")
Any suggestions?
Thanks!