Hey guys,
June7 gave me some code to use a couple weeks ago (thread for that: https://www.accessforums.net/queries...uct-52124.html). It worked great the first time I used it, no errors or issues. I needed to do a similar (nearly identical) process for another set of data in the same db. Copy the function, created a new one, pasted the code, changed the bits that needed changed and ran it for the new data. Worked great. Now when I try to run the function for the original data, I get the error in the title of this post. I have gone into regedit and changed the value to 'ffffffff' and, not surprisingly, it didn't fix the issue. Any thoughts on why this is? PkgSeqNum() throws the error, while SvcSeqNum() runs without an issue.
Relevant snippets:
![]()