Passing Parameters to Subforms

Jeffrey Jones jjones at synergos.com
Tue Jul 19 15:35:31 UTC 2022


Shooting from the hip here. Have you tried subform.$classname.$assign(parameterRow)

> On Jul 19, 2022, at 7:56 AM, Das Goravani <goravanis at gmail.com> wrote:
> 
> 
> Yes I too would like a way to pass subforms parameters. There is a Parameters property for the subform but it won’t take what I put in it. 
> 
> To get around this I am simply packing task variables which I then access from the subform.
> 
> But parameters would be nice. 
> 
> 
> 
>> On Jul 18, 2022, at 4:25 PM, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>> 
>> Hi All,
>> I have a similar problem.
>> I instantiate a subform with the command:
>> 
>> 
>> 
>> Do $cinst.$objs.tabPane.$currenttab.$assign(3)
>> 
>> 
>> Tab 3 has the subform created.
>> If I click on the tab 3, I get an error message:
>> $init error 10203:The TO recipient parameter must be a list with atleast one column.
>> In the $contrust of the subform I have:
>> 
>> 
>> 
>> Do $cwind.$getAttachment() Returns lRow
>> 
>> In $CWind I have method $getAttachment with the line:
>> 
>> Quit method row(iPath,iFileName)
>> 
>> Where I am getting off the tangent?
>> Rgds,Martin O.
>> 
>>   On Sunday, July 17, 2022 at 07:18:05 PM GMT+3, Das Goravani <goravanis at gmail.com> wrote:  
>> 
>> 
>> I figured out a way around this problem. I’m good now. 
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list