A
Al
I have a form in Access 2000 where I want to make a
control visible if the user is at the max id number
(LOGID) in the control source table (LOG). The LOGID
field (named "ID") is also on the form and I think that is
where the problem is coming in.
I tried using "If me.ID = DMax([LOGID], "LOG") Then" but
I keep getting the LOGID of the current record instead of
the max id from the table. So I set up a variable and
tried it this way: Mid = DMax([LOGID], "LOG") and get the
same problem.
Why won't the DMAX function look at the table for the max
id?
TIA,
Al
control visible if the user is at the max id number
(LOGID) in the control source table (LOG). The LOGID
field (named "ID") is also on the form and I think that is
where the problem is coming in.
I tried using "If me.ID = DMax([LOGID], "LOG") Then" but
I keep getting the LOGID of the current record instead of
the max id from the table. So I set up a variable and
tried it this way: Mid = DMax([LOGID], "LOG") and get the
same problem.
Why won't the DMAX function look at the table for the max
id?
TIA,
Al