G
Guest
The line of code shown below consistantly deletes one fewer records than it
should, i.e if there are three records that meet the delete criteria, ony two
are deleted.
Docmd.RunSQL("Delete From Output WHERE [Cntrl] = True")
Also, in debug the line below,
? Dcount("[LastName],"Output",[Cntrl] = True")
when typed in the immediate box also returns a number that is one less than
the correct number.
Tnx,
Don W.
should, i.e if there are three records that meet the delete criteria, ony two
are deleted.
Docmd.RunSQL("Delete From Output WHERE [Cntrl] = True")
Also, in debug the line below,
? Dcount("[LastName],"Output",[Cntrl] = True")
when typed in the immediate box also returns a number that is one less than
the correct number.
Tnx,
Don W.