J
Johnny Bright
I'm trying to do the following:
Set rstQueryData = db.OpenRecordset("Select * from qryAllParticipants" & _
"Where DateRecieved >= #" & Me.txtBegin & "# and <= #" & Me.txtEnd &
"#, dbOpenSnapshot")
I have of course declared all the required variables. I never know where to
put the #'s and the quotes etc. DateRecieved, txtbegin and end of course are
date fields. aryAllParticipants has as it's criteria the two text boxes on a
form and is an aggregate query with several Group by's and one Sum field.
All help greatly apprecitated!
Set rstQueryData = db.OpenRecordset("Select * from qryAllParticipants" & _
"Where DateRecieved >= #" & Me.txtBegin & "# and <= #" & Me.txtEnd &
"#, dbOpenSnapshot")
I have of course declared all the required variables. I never know where to
put the #'s and the quotes etc. DateRecieved, txtbegin and end of course are
date fields. aryAllParticipants has as it's criteria the two text boxes on a
form and is an aggregate query with several Group by's and one Sum field.
All help greatly apprecitated!