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]
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.

