You cannot return value from class based form this way. There're a few ways to do that. See Message #
549714 for two of them. Here's another one Message #
530111.
>Hi
>
>A simple one
>I am trying to return a value from a form
>
>
oPrintForm=CREATEOBJECT('PrintOrdersForm')
>lnOrders=oPrintForm.show(1)
>RELEASE oPrintForm
>
>As per the help I have in the unload method of my form class
>
>
RETURN this.nOrders
>
>a numeric property of the class yet I am getting .T. returned to lnOrders.
>
>Obvoiusly I am missing something. How do I return my value using the show method???
>
>Regards
>Geoff Scott
--sb--