I built an app that compares the next record with the current. The way I did it was storing current values into variables then .movenext and compare. then moving back before progressing through the rest of the code that takes into consideration whether certain data between the current and the record that follow match.
What I wasn't expecting as its my first time ever doing any vba is that if I reach eof inside my loop it won't continue if it runs into a place where it has to evaluate.
Is there a way to turn off the warning/break in the code via setting a flag of sorts.
I coded a workaround as per my code logic but I'm just curious if theres a flag that will stop the error. thanks
What I wasn't expecting as its my first time ever doing any vba is that if I reach eof inside my loop it won't continue if it runs into a place where it has to evaluate.
Is there a way to turn off the warning/break in the code via setting a flag of sorts.
I coded a workaround as per my code logic but I'm just curious if theres a flag that will stop the error. thanks