Hi Ria.
>Can someone give me more information on this error message please, like when can this occur?
>Cannot access characters beyond string (Error 62)
One cause of this error is accessing a character beyond the end of the string when you have TALK set on in VFP 6 or earlier (at least I think they fixed it in VFP 7). For example:
set talk on
x = 'abcde'
? substr(x, 12, 1)
The solution in this case is to SET TALK OFF.
Doug