Thanks, Chris. I'll study this and give it a try.
Gary
"Chris Gillard" <
chris@bluesquare.co.uk> wrote in message
news:48b3c8bc$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
> Gary,
>
> This is the technique I am using as recommended by the Xailer guys a while
> back.
>
> Allows parameters to be passed & returned.
>
> With this approach make DATA vars in the second form to hold the
> parameters to be passed and the values to be returned.
>
> The calling syntax is quite important as the secondary form still exists
> after the showmodal allowing you to extract any number of return values.
>
> Not suggesting I fully understand the calling sysntax but I have used it
> lots of times.
>
> Hope it helps.
>
> Chris Gillard
>
> //
> // pops a secondary form to choose another BRAND from a dbfbrowse
> //
> METHOD BrandEditBtnClick( oSender, Value ) CLASS StyleForm
>
> WITH OBJECT TBrandChooseForm() // the secondaty form
> :cMode := "VIEW" // set
> cMode DATA var in secondary form
> :New( SELF ):ShowModal()
> ::cBrandChosen := :cRetBrandChosen // pick up
> cRetBrandChosen from secondary form
> END
>
> ::oBrandEdit:Value := ::cBrandChosen // set some var
> on primary form to returned value
>
> RETURN Nil
>
>
>
>
> [email=.
s.rogers@att.net].
s.rogers@att.net[/email]> wrote in message news:48b08bf8$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
>> How to do this?
>
>