>Carlos,
>You could assign the desired program code to a custom object stored in your application-specific VCX. This object could then be used on the reqd form.
>Since it is a part of your application-specific class library, it becomes re-usable too.
>Ranjit.
Ranjit,
Do you mean create a instance of this object each time i need it, or have it from the begining of the application ??.
In the first option: Does the object have the same datasession of the form ???
In the second one: I know the problem is the same as a .prg: datasession is different as the form one.
Saludos,
A.G.P.
---------