S
Sirocco
Having trouble with what would appear to be a simple VB statement, but
doesn't work.
DMax("[StartTime]", "tblSchedule", "[BeginDate] = " & "[MaxDate]")
where MaxDate is computed first in another DMax statement earlier in the
module. What rule am I breaking? It works if I substitute an actual
date for MaxDate
"#10/20/2003#"
but doesn't work if I use the variable. Is there a rule against using a
criteria that is itself computed in the same module?
Thank you!
doesn't work.
DMax("[StartTime]", "tblSchedule", "[BeginDate] = " & "[MaxDate]")
where MaxDate is computed first in another DMax statement earlier in the
module. What rule am I breaking? It works if I substitute an actual
date for MaxDate
"#10/20/2003#"
but doesn't work if I use the variable. Is there a rule against using a
criteria that is itself computed in the same module?
Thank you!