Hi David,
It's a bug in VFP7. See
Re: C0000005 with TEXTMERGE() Message #
667237 for workaround.
>I'm getting sporadic fatal exception crashes on textmerge lines. I can run the exact same set of data, and the exception, if it happens, will rarely happen on the same record.
>
>Here's one of the lines:
>lcInfo=lcInfo+textmerge("
<
>, <> <>")
>
>I'm generating some HTML, and city, state and zip are fields in a view.
>
>I've been running a debugout file and every field/variable is legit, and not a .null.
>
>I just upgraded to SP1 on VFP 7. Not sure if that is related. This code has been running trouble free for 6 months, though, so I'm suspicious.
>
>I couldn't find any references to textmerge causing fatal exceptions in MSDN.
>
>Any thoughts would be greatly appreciated. Otherwise, I need to switch back to the old concatenation technique.
>
>Thanks,
>
>David
--sb--