L lovett10 Registered User. Local time Yesterday, 16:57 Joined Dec 1, 2011 Messages 150 Dec 22, 2011 #41 vbaInet said: Re-read the last sentence in my last post I mentioned two cases. Click to expand... Neither are the case?
vbaInet said: Re-read the last sentence in my last post I mentioned two cases. Click to expand... Neither are the case?
V vbaInet AWF VIP Local time Today, 00:57 Joined Jan 22, 2010 Messages 26,374 Dec 22, 2011 #42 I've spotted it: Code: strFilter = "[Total Hours Worked] Is Null And (" & _ "[Engineer 1] = '" & Me!cbrEngineer & "' OR " & _ "[Engineer 2] = '" [COLOR=Red]&[/COLOR] Me!cbrEngineer & "' OR " & _ "[Engineer 3] = '" & Me!cbrEngineer & "')"
I've spotted it: Code: strFilter = "[Total Hours Worked] Is Null And (" & _ "[Engineer 1] = '" & Me!cbrEngineer & "' OR " & _ "[Engineer 2] = '" [COLOR=Red]&[/COLOR] Me!cbrEngineer & "' OR " & _ "[Engineer 3] = '" & Me!cbrEngineer & "')"
L lovett10 Registered User. Local time Yesterday, 16:57 Joined Dec 1, 2011 Messages 150 Dec 22, 2011 #43 vbaInet said: I've spotted it: Code: strFilter = "[Total Hours Worked] Is Null And (" & _ "[Engineer 1] = '" & Me!cbrEngineer & "' OR " & _ "[Engineer 2] = '" [COLOR=red]&[/COLOR] Me!cbrEngineer & "' OR " & _ "[Engineer 3] = '" & Me!cbrEngineer & "')" Click to expand... ahh nice one.... i think its working now but i still think i need to put the ors and and's
vbaInet said: I've spotted it: Code: strFilter = "[Total Hours Worked] Is Null And (" & _ "[Engineer 1] = '" & Me!cbrEngineer & "' OR " & _ "[Engineer 2] = '" [COLOR=red]&[/COLOR] Me!cbrEngineer & "' OR " & _ "[Engineer 3] = '" & Me!cbrEngineer & "')" Click to expand... ahh nice one.... i think its working now but i still think i need to put the ors and and's
L lovett10 Registered User. Local time Yesterday, 16:57 Joined Dec 1, 2011 Messages 150 Dec 22, 2011 #44 lovett10 said: ahh nice one.... i think its working now but i still think i need to put the ors and and's Click to expand... Hmm its still showing the ones where the total hours worked isnt Null
lovett10 said: ahh nice one.... i think its working now but i still think i need to put the ors and and's Click to expand... Hmm its still showing the ones where the total hours worked isnt Null
V vbaInet AWF VIP Local time Today, 00:57 Joined Jan 22, 2010 Messages 26,374 Dec 22, 2011 #45 lovett10 said: ahh nice one.... i think its working now but i still think i need to put the ors and and's Click to expand... No you don't!
lovett10 said: ahh nice one.... i think its working now but i still think i need to put the ors and and's Click to expand... No you don't!
L lovett10 Registered User. Local time Yesterday, 16:57 Joined Dec 1, 2011 Messages 150 Dec 22, 2011 #46 lovett10 said: Hmm its still showing the ones where the total hours worked isnt Null Click to expand... ahh nevermind i know why thanks for the help
lovett10 said: Hmm its still showing the ones where the total hours worked isnt Null Click to expand... ahh nevermind i know why thanks for the help
V vbaInet AWF VIP Local time Today, 00:57 Joined Jan 22, 2010 Messages 26,374 Dec 22, 2011 #47 lovett10 said: Hmm its still showing the ones where the total hours worked isnt Null Click to expand... Show me a sample db.
lovett10 said: Hmm its still showing the ones where the total hours worked isnt Null Click to expand... Show me a sample db.
L lovett10 Registered User. Local time Yesterday, 16:57 Joined Dec 1, 2011 Messages 150 Dec 22, 2011 #48 oh btw can you do Me.chkIncompleted = NotTrue ????
V vbaInet AWF VIP Local time Today, 00:57 Joined Jan 22, 2010 Messages 26,374 Dec 22, 2011 #49 lovett10 said: ahh nevermind i know why thanks for the help Click to expand... Why is it? Some other criteria somewhere?
lovett10 said: ahh nevermind i know why thanks for the help Click to expand... Why is it? Some other criteria somewhere?
V vbaInet AWF VIP Local time Today, 00:57 Joined Jan 22, 2010 Messages 26,374 Dec 22, 2011 #50 lovett10 said: oh btw can you do Me.chkIncompleted = NotTrue ???? Click to expand... Not Me.chkIncompleted = True OR Me.chkIncompleted = False
lovett10 said: oh btw can you do Me.chkIncompleted = NotTrue ???? Click to expand... Not Me.chkIncompleted = True OR Me.chkIncompleted = False
L lovett10 Registered User. Local time Yesterday, 16:57 Joined Dec 1, 2011 Messages 150 Dec 22, 2011 #51 lovett10 said: oh btw can you do Me.chkIncompleted = NotTrue ???? Click to expand... nevermind False seems to cover both untrue states
lovett10 said: oh btw can you do Me.chkIncompleted = NotTrue ???? Click to expand... nevermind False seems to cover both untrue states