>Hello everybody
>
>I developed a search form(searchso.scx) and I call this search form from another form(soedit.scx) on which there is a combo box. In the interactivechange event of the combox I put the code to display the records. It is working fine and displaying the records. The question is, how can I display the records on soedit.scx after getting the required result from search form(searchso.scx). Means when I return from search form, it should play the event of the interactivechange of the combobox. The Value which I want to get form search form is (sono) which is the value of combo box.
>How can I do so, please guide me... Thanks
>
>Please note that the search form is modal.
>
>Saif
Where you call the Search form:
lcSearched = []
DO FORM SearchForm LINKED TO lcSearched
IF NOT EMPTY(lcSearched)
ENDIF
In your search form, add a property return_value. In Init event of that form initialize it to empty data type (depending of what you return)
There where the user confirm the search store the value of the combo in that property:
thisform.return_value = thisform.Combo1.Value
In UNLOAD event of the Search form:
RETURN thisform.return_value
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.