>>I have this in a form, but sometimes when it gets to this line the RecNo() associated to lnCurrentRecNo is no longer available. How can I best check so I do not get the error?
>>
>>GOTO lnCurrentRecNo
>>
>
>You could use a
Try - Catch around the GOTO. You'll still get the error, but the user won't see it and you can deal with it.
I always use the code suggested by James to avoid such errors.
If it's not broken, fix it until it is.
My Blog