>i create a cursor adapter in the init of the form > >when i try access this cursor from a buttom >foxpro cannot find it > >how can i resolv this
Local variables are only in scope in the method they are created in. So a variable declared as local in Init() is not seen in other methods. What you should do is add properties to the container object (in your case a Form), then assign the variable contents to the form.property instead so they are visible throughout the life of the form.
"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry