>However, if I try to run the following code in any method(activate,
>init,click etc...anywhere, i get a syntax error.
>
>select gidetail
>go thisform.crec
>thisform.refresh()
>
You mean this code is in some of FormB methods and is not working?
If you trace it right here:
select gidetail
SET STEP ON
go thisform.crec
thisform.refresh()
what value you have in thisform.crec (formB)?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison