WatsonDyar
Registered User.
- Local time
- Today, 14:49
- Joined
- Aug 12, 2014
- Messages
- 50
Hello All!
Having problems with the following:
strRole is declared and defined. Stepping through the code shows that the variable is working correctly. I just cannot get the following statement to work with the recordset.
sqlCount = "SELECT mtProgram.mbrProgramID, mtProgram.Role, mtProgram.Complete " _
& "FROM mtProgram " _
& "WHERE ((mtProgram.Complete)= 'No') And ((mtProgram.Role)=" & strRole & ";"
Having problems with the following:
strRole is declared and defined. Stepping through the code shows that the variable is working correctly. I just cannot get the following statement to work with the recordset.
sqlCount = "SELECT mtProgram.mbrProgramID, mtProgram.Role, mtProgram.Complete " _
& "FROM mtProgram " _
& "WHERE ((mtProgram.Complete)= 'No') And ((mtProgram.Role)=" & strRole & ";"