
Originally Posted by
CJ_London
I presume the code stops on the .currentid = Nz(.ID, 0) line, and not the With Me line
Since nobody else is having a problem it is likely to be a problem with the data they are trying to reference. Perhaps you are prefiltering on the user ID or similar so each user only sees 'their' records.
what is currentID? an unbound textbox? a bound one?
What is the datatype for ID? numbers? text?
what values do you see for ID when the code stops and you hover over the relevant code
Have you tried stepping through the code - put a break point at the start of the code (when the user clicks a button, whatever that initiates this code? step through and check values as you go and/or use the locals window
My best guess is that ID is text (or interpreted as such) and has been populated with a zls, in which case the nz function won't work
or it is null and as WGM suggests, you don't have an ID of 0