// HCL: Customization by Manoj on 1/30/2009 for "Melco"
public void lookup(FormControl _formControl, str _filterStr)
{
    Query                   query          = new Query();
    QueryBuildDataSource    queryBuildDataSource;
    QueryBuildRange         queryBuildRange;

    SysTableLookup sysTableLookup = 
SysTableLookup::newParameters(tableNum(MPL_InventItemSubGroup),  _formControl);
    ;

    sysTableLookup.addLookupField(fieldNum(Inventtable, Itemid));
    sysTableLookup.addLookupField(fieldNum(Inventtable, Name));

    queryBuildDataSource = query.addDataSource(tableNum(Inventtrans));
    queryBuildRange = queryBuildDataSource.addRange(fieldNum(Inventtrans, 
Itemid));
    queryBuildRange.value(Queryvalue(Inventtrans.itemid));
    sysTableLookup.parmQuery(query);

    sysTableLookup.performFormLookup();
}


--- On Wed, 17/6/09, Pooja . <dyna.a...@yahoo.com> wrote:


From: Pooja . <dyna.a...@yahoo.com>
Subject: [Axapta-Knowledge-Village] (unknown)
To: "development-axapta" <development-axa...@yahoogroups.com>, "groups" 
<dynamicsg...@yahoogroups.com>, "groups" 
<microsoft_dynamics_axa...@yahoogroups.com>, "groups" 
<secretsofdynamicssoftwar...@yahoogroups.com>, "groups" 
<Axapta-Knowledge-Village@yahoogroups.com>, "groups" 
<msdynamicsaxfo...@yahoogroups.com>, "groups" <dynamics...@yahoogroups.com>, 
"groups" <dynamic...@yahoogroups.com>
Date: Wednesday, 17 June, 2009, 1:43 PM










Hi Guys,
Im new to Ax,How to write the Lookup on the field with some lsit
Pooja
















      ICC World Twenty20 England &#39;09 exclusively on YAHOO! CRICKET 
http://cricket.yahoo.com

Reply via email to