Once it is a class I'd suggest that you create a form property to store the item selected.
Then before you destroy the form object you quiz its value
eg:
local oFrm
oFrm= createobject('myform')
oFrm.show(1)
itemno= oFrm.myitemno
where myitemno saves the selected item while you are in the form.
>Hi there!!
>
>i have designed a form which accepts a SQL srting as parameter and displays a listbox based on the output of sqlstring. Form returns the item selected by user.
>
>like do form ItHelp with "select * from itemmast" to mvar
>
>My Question :
>if i save this form as class will i be able to get the return value.
>
>Please Help
>
>Regards
>
>Sunny
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement