Also...

Check out lookupField() and lookupValue() on args() (I think that's
the names... I'm going from memory here).  If you fill these with the
fieldId and value that you want to search for, then the form will
open with all records shown, and the one matching those criteria
selected.

Hope that helps

Andrew Jones


--- In [email protected], Bruno Max S�rensen
<[EMAIL PROTECTED]> wrote:
>
> Hi Manfred

> Use the method findrecord() on the datasource. As parameter the
method takes
> the record you want to mark/find.
> Be aware - it can be a performance killer.

> Regards
> Bruno
>
>   _____ 
>
> From: smeagul2303 [mailto:[EMAIL PROTECTED]
> Sent: 23. december 2004 11:52
> To: [email protected]
> Subject: [development-axapta] Open a form with marked record
>
>
>
>
> Hi,
>
> I want to open a form, let's say inventTable with the item 4711
> being marked, but I want see all the other items too.
>
> If I open a form like:
> args = new Args(formstr(InventTable));
> args.record(item4711);
> formRun = classFactory.formRunClass(args);
> formrun.init();
> formRun.run();
> formRun.detach();
>
> I get a form with only one record in. Record is "item4711".
> I want that "item4711" is marked and all other items are also
> displayed.
>
> How have I to modify my code ?
>
> Regards
>
> Manfred
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Sponsor     
>
> ADVERTISEMENT

>
<http://us.ard.yahoo.com/SIG=1290567hp/M=294855.5468653.6549235.300117
6/D=gr
>
oups/S=1705006764:HM/EXP=1103885657/A=2455396/R=0/SIG=119u9qmi7/*http:
//smal
> lbusiness.yahoo.com/domains/> click here     

> <http://us.adserver.yahoo.com/l?
M=294855.5468653.6549235.3001176/D=groups/S=
> :HM/A=2455396/rand=507609922>      
>
>   _____ 
>
> Yahoo! Groups Links
>
>
> *      To visit your group on the web, go to:
> http://groups.yahoo.com/group/development-axapta/
>  
>
> *      To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>  
>
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .
>
>
>
>
> [Non-text portions of this message have been removed]








Yahoo! Groups Links

Reply via email to