Though this is useful, and is what I have done in the past, I see that the recordset is still tied to 'TblName.' I was wondering if there was a way of getting around having the recordset tied to 'TblName' and still have it be able to get edited. Here is my Code.
Private Sub Bla()
On Error GoTo errhandle:
Dim qdef As DAO.QueryDef, rs As DAO.Recordset
Set qdef = CurrentDB.QueryDefs("TblName")
qdef!startday = "1/1/2002"
qdef!endday = "1/15/2002"
Set rs = qdef.OpenRecordset
'It is here that I need to initialize a recordset that can be edited but that does not alter any tables.
rs.Edit
rs!fieldname = "DATA"
.......
The only reason I want to do this is so that more than one person can use the report at a given time with different parameters (the "1/1/2002" would be an inputbox or something of the like). If you have any ideas on how to do this, they would be greatly appreciated.