TravelingCat
Registered User.
- Local time
- Today, 07:40
- Joined
- Feb 22, 2010
- Messages
- 42
I'm trying to fill up a recordset with the following values:
I checked with "If rs.EOF = True Then..." and it indeed is true, meaning rs is empty. These are fields from a subform, and earlier i had another problem, access couldn't find this subform. So i read that when accessing to subform it should be open so i opened it as hidden, but now the rs is empty..
Anyone has an idea how i can fix it?
Thanks in advance!
Code:
Set rs = CurrentDb.OpenRecordset
("SELECT assignInCharge, workerEmail from tblAssignments, tblWorkers
WHERE assignInCharge = workerNum and assignSend = -1
and assignIsSent = 0 and assignNum = " & strAssignNum)
Anyone has an idea how i can fix it?
Thanks in advance!