C
croy
Some snippets of code I have:
strWhere = "[IvSurvId] = " & Me.Parent![IvSurvId]
StrWhere2 = "[IvSurvId] = " & Me.Parent![IvSurvId] _
" And [IvPage] = " & Me![txtIvPage].Value
and it's almost working for me.
Id like to change the last part of strWhere2, making the
line:
strWhere2 = "[IvSurvId] = " & Me.Parent![IvSurvId] _
& " And [IvPage] = "
(shifting to plain English here)
"The highest value of IvPage for strWhere" or...
DMax("IvPage", "tblIvDetail", strWhere)
.... except in a syntax that works...
I've tried about everything I can think of.
Any takers?
strWhere = "[IvSurvId] = " & Me.Parent![IvSurvId]
StrWhere2 = "[IvSurvId] = " & Me.Parent![IvSurvId] _
" And [IvPage] = " & Me![txtIvPage].Value
and it's almost working for me.
Id like to change the last part of strWhere2, making the
line:
strWhere2 = "[IvSurvId] = " & Me.Parent![IvSurvId] _
& " And [IvPage] = "
(shifting to plain English here)
"The highest value of IvPage for strWhere" or...
DMax("IvPage", "tblIvDetail", strWhere)
.... except in a syntax that works...
I've tried about everything I can think of.
Any takers?