I tried your fix and it worked! I am so glad to get this resolved. For now, I will make this change in my RIBUILDR.APP. Will this be changed in a future service pack for VFP9?
Thank you for sticking with this issue and getting it resolved.
>Hi Debra,
>
>Thank you very much for providing a repro. The issue turned out to be as simple as a bug on the following line:
>
>unlock record pnParentRec in lcParentWkArea
>
>Usually the error is eaten by ON ERROR handler, but, if you put
>
>ON ERROR ?ERROR(),message(),message(1),program()
>
>before the UNLOCK, you'll see what is going on.
>The lcParentWkArea should be enclosed in parenthesis.
>
>unlock record pnParentRec in (lcParentWkArea)
>
>
>Thank you for reporting this issue.
>Aleksey.