Hi All,
Stuck on a type mismatch error generated by the following
curKey = Forms![Report Writing Form]![ReportKey]
Set rstObj = CurrentDb.OpenRecordset("SELECT * FROM Objectives WHERE ReportKey = '" & curKey & "'"
The Initial Report Key is a use of Cstr(now())
My understanding of this is that a long format date will be pasted as a sting into whatever field I assign it to.
All other refs to report key are a copy of that initial field.
Another thing I have noticed is even calling the record set without a where statement I still get the type mis match error.
If there is anyone out there that can help PLEASE Do and save me from going nuts
Thanks in advance
Tony
Stuck on a type mismatch error generated by the following
curKey = Forms![Report Writing Form]![ReportKey]
Set rstObj = CurrentDb.OpenRecordset("SELECT * FROM Objectives WHERE ReportKey = '" & curKey & "'"
The Initial Report Key is a use of Cstr(now())
My understanding of this is that a long format date will be pasted as a sting into whatever field I assign it to.
All other refs to report key are a copy of that initial field.
Another thing I have noticed is even calling the record set without a where statement I still get the type mis match error.
If there is anyone out there that can help PLEASE Do and save me from going nuts
Thanks in advance
Tony