try this
          pls setup Autodeclaration property of ur stringEDIT control to "auto" 
and dnt specify any data source and data field properties.... try this....
   if it does nt work...then there is some problem with ur query....

Ruel Ormita <[EMAIL PROTECTED]> wrote:
          I think this one will work. try to override the
lookup.

public void lookup(FormControl _formControl, str
_filterStr)
{

SysTableLookup sysTableLookup =
SysTableLookup::newParameters(tablenum(tablename),_FormControl);
Query query = new Query();
;

query.addDataSource(tableNum(tablename));

query.dataSourceTable(tableNum(tablename)).addRange(fieldNum(tablename,
fieldname)).value(value);

sysTableLookup.addLookupfield(fieldNum(tablename,
fieldname));

sysTableLookup.parmQuery(query);
sysTableLookup.performFormLookup();

}

--- Claas Heinrich <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> I created a form with a stringedit in axapta 3.0 and
> simply added the 
> lookup method.
> Everything works fine.
> I click the Looku Button and axapta enters the
> method.
> 
> In 4.0 the same code doesn't work...
> 
> Is this a bug?
> 
> Greeting,
> Claas Heinrich
> 
> 
> 
> Yahoo! Groups Links
> 
> 
http://groups.yahoo.com/group/development-axapta/join
> (Yahoo! ID required)
> 
> 
>
mailto:[EMAIL PROTECTED]
> 
> 
> 

__________________________________________________________ 
Yahoo! Singapore Answers 
Real people. Real questions. Real answers. Share what you know at 
http://answers.yahoo.com.sg


         

       
---------------------------------
 Why delete messages? Unlimited storage is just a click away.

[Non-text portions of this message have been removed]

Reply via email to