Passing Parameters to Subforms

Martin Obongita martin.obongita at yahoo.com
Tue Jul 19 20:29:14 UTC 2022


 Hi Das,
How do task variables work between a main form and a sub form, so that I could use them instead of passing parameters to and from?Especially in a case where I am LOOPing through a list of emails with attachments and sending each.
Rgds,Martin.

    On Tuesday, July 19, 2022 at 05:56:16 PM GMT+3, 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