M
mscertified
I have a continuous form that can insert new records to the bound table.
There are 2 hidden fields for columns in the table that the user cannot
directly set. One of these is a numeric (long) column that has to be set to
the highest current value in the column plus 1 (don't ask why). So in the
AfterUpdate event, I do a DMAX and set the column to the value + 1. However,
my column always contains ZERO (the default value). Why? Is there a pronblem
in using the AfterUpdate event for this? Is it a problem that my AfterUpdate
event contains a DMAX against the table the form is bound to?
Thanks.
There are 2 hidden fields for columns in the table that the user cannot
directly set. One of these is a numeric (long) column that has to be set to
the highest current value in the column plus 1 (don't ask why). So in the
AfterUpdate event, I do a DMAX and set the column to the value + 1. However,
my column always contains ZERO (the default value). Why? Is there a pronblem
in using the AfterUpdate event for this? Is it a problem that my AfterUpdate
event contains a DMAX against the table the form is bound to?
Thanks.