D
Dave Elliott
I need to combine these in to one of possible.
the code is run on the current event.
Also the second one does not work, it does not make Due = False
That is if the second if statement Text388 equals 0 or is less than 0 then
Due = False
If Nz(Me!Text388) > 0 Then Me!Due = True
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSaveRecord
If Nz(Me!Text388, 0) < 0 Then Me!Due = False
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSaveRecord
the code is run on the current event.
Also the second one does not work, it does not make Due = False
That is if the second if statement Text388 equals 0 or is less than 0 then
Due = False
If Nz(Me!Text388) > 0 Then Me!Due = True
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSaveRecord
If Nz(Me!Text388, 0) < 0 Then Me!Due = False
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSaveRecord