>
Where to put this "ThisForm.oCallingform.RefreshFromOutside()" in Search Form or in Caller form. >
>In the Search form.
>
>
As I create oCallingForm property in Search Form and >
>Correct.
>
>
RefreshFromOutside Method in CallerForm. >
>Correct.
>
>And in this (RefreshFromOutside Method) I put this code
>(ThisForm.contMaster.Basecont1.cboSalesOrder.InteractiveChange()).
>>
>>Please suggest ..
>>
>Everything is fine, except that we may also need to pass the cursor (result of the search) back to the Caller form. Do we need to do that?
>
>If yes, few techniques:
>
>1. Let's Search form to share Calling form's DE, e.g. make search form to use default DE. In this case the cursor created in Search form will be visible in the caller form.
>
>2. Pass it back and forth using CursorToXML/XMLToCursor functions.
>
>3. Use ideas from the FAQ by
When someone wants to pass a cursor from one form to another then the most consistent technique is to create this cursor in the calling form and assign its alias to one of the properties of the calling object.
Edward Pikman
Independent Consultant