Keith Clark wrote:
I have written a macro that grabs some text from two controls, one being
from a main form, and the other from a sub form. It works fine when I'm
looking through the data, but when I get to the last record, an error
occurs and I cannot seem to figure it out.
Error:
Hi Keith,
I am 'assuming' here that the sub procedure you listed is being called
form another sub procedure that is using some type of looping?
i.e. FOR NEXT, WHILE WEND, etc.
The error is most likely coming because of your loop not properly
checking that it has finished processing all the records.
If you are still having the problem, could you just who what the (if it
is as I assume) code for the loop looks like.
Thanks
Drew
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]