CASE is a reserved VFP word. Can you open your table under different alias?
>Hi All,
>I am now working late at night to meet my deadline, but i cannot get this piece of code working. It suppose to read in action and just go to that record~!!!!!
>
>This code is located in a form, and when I pass the parameter in from another form, it doesnt work. and gives me error 10. sytax error.
>can someone help me out?
>************
>parameter superid, act
>
>thisform.alwaysontop = .t.
>
>if empty(act)
> act = 'leave'
>endif
>
>
>if act = 'search'
>
> goto superid in case
>endif
>
>
>*************
>Thanx!
>Tom
If it's not broken, fix it until it is.
My Blog