$parameters for SubWindow

Michael Mantkowski michaelj at clientrax.com
Sun Apr 29 07:04:20 EDT 2018


Thanks Kelly and Greg,

I found what I was doing wrong.  I was trying to assign local variables to
the SubWindow.$parameters.  Even thought they were in scope at the time of
assigning them, Omnis would not accept them.  Changed to instance variables
and it works.

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


-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of
Grzegorz (Greg) Pasternak
Sent: Saturday, April 28, 2018 11:09 PM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: Re: $parameters for SubWindow

Michael;

Perhaps you can try something similar to this:
Do $cfield.$parameters.$assign(con(kSq,pCallerName,kSq,',',kSq,pRecId,kSq))
Do $cfield.$classname.$assign(pClassName)

or this:
Do $cfield.$parameters.$assign(con(kSq,pCallerName,kSq,',',nam(iSqlRow)))
Do $cfield.$classname.$assign(pClassName)

where $cfield is pertaining to sub window

Greg


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

_____________________________________________________________
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