$parameters for SubWindow

Michael Mantkowski michaelj at clientrax.com
Mon Apr 30 17:07:21 EDT 2018


Thanks Doug, I will keep that in mind for the future,  But for now I only have two things to choose from.

*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************


-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of Doug Easterbrook
Sent: Monday, April 30, 2018 7:22 AM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: Re: $parameters for SubWindow

hi Michael.

just as a matter of coding convenience..     we put all such parameters in a row.


that way, you can add values to your row, change the order of the parameters (and it doesn’t matter), and pass the row deeper into your subwindows from you main window.


typically: code might look like

make row (‘param1’,value1,’Param2’,value2,’Param3’, value3)

initialize window (row)


then in the subwiddow

calc iParam as pParam

then you can refer to
iParam.Param1
iParam.Param2
etc..


order of parameters becomes very independent of the code … and you can test if they have been provided or not.

hope that helps.


Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978




see you at the third annual users conference
https://tickets.proctors.org/TheatreManager/95/online?performance=29086 <https://tickets.proctors.org/TheatreManager/95/online?performance=29086>

> On Apr 28, 2018, at 10:22 PM, Michael Mantkowski <michaelj at clientrax.com> wrote:
> 
> Does anyone know if you can use $parameters to send more than one parameter to a SubWindow?
> 
> I can easy send one, but if I try two (lvFieldRef,lvColorRef) I get a error that the comma is in the wrong position.
> 
> There is no information on $parameters accept that it is the parameters for the subwindow.
> 
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com Start a 
> new message -> mailto:omnisdev-en at lists.omnis-dev.com




More information about the omnisdev-en mailing list