possible. But through webargs, you can use record as Parm. I think you
can do this easier. Why don't you just make your filters in the same
form?
Regards,
Morten Aasheim
Peritus AS
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Andre Klopper
Sent: 26. mai 2006 19:14
To: [email protected]
Subject: [development-axapta] Passing parameter on the web...
Hi All,
I want to pass parameters through to the next webform. Now that was easy
enough, but now I want to send through a atruct as parm. On the called
form When I try to get the value it does not work. The value of temp is
EmplId.
That should surely by the value of the item send..
Any comments?
Cheers
Andre
Calling Form:
webLink = new WebLink();
mf = new MenuFunction(menuItemDisplayStr(Approval),
MenuItemType::Display);
struct s = new struct(types::string, "EmplId",
types::integer, "WeekNo",
types::Date, "StartDate",
types::Date, "EndDate" );
s.value("EmplId", EmplId.text());
s.value("WeekNo", WeekNo.value());
s.value("StartDate", StartDate.dateValue());
s.value("EndDate", EndDate.dateValue());
args.parmObject(s);
mf.create(args);
webLink.menufunction( mf);
webSession().redirect(webLink);
Called From:
webArgs = element.args().parmObject();
s = element.args().parmObject();
super();
EmplRange =
this.query().dataSourceNo(1).addRange(fieldnum(EAM_T_Timesheet,
EmplId));
temp = s.value("EmplId");
EmplRange.value(temp);
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
You can search right from your browser? It's easy and it's free. See
how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
SPONSORED LINKS
| Computer part | Programming languages | Microsoft axapta |
| Support exchange |
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

