pjTable = ProdJournalTable_ds.getFirst(true) ?
ProdJournalTable_ds.getFirst(true) :
ProdJournalTable_ds.cursor();
Steeve...
-----Message d'origine-----
De�: kamchung322 [mailto:[EMAIL PROTECTED]
Envoy�: 10 septembre 2004 02:59
��: [EMAIL PROTECTED]
Objet�: [development-axapta] Re: Determine records selected in grid
It is work when the user select more than one row. However, when
the user select only one row, it can't be returned the record.
Anything I do wrong ? Following is the code :
ProdJournalTable _pjTable;
_pjTable = ProdJournalTable_ds.getfirst(1);
ttsbegin;
while(_pjTable)
{
......
}
Regards.
Kenneth.
--- In [EMAIL PROTECTED], "bmp_thydatacenter_dk"
<[EMAIL PROTECTED]> wrote:
> You should use the methods FormDataSource.getFirst() and .getNext
().
>
> If you have a version with an updated cross reference, you can
find
> numerous examples in the standard application. One of them is:
\Data
> Dictionary\Tables\SalesParmTable\Methods\checkTransferToUpdate()
>
> Best regards,
> Bj�rn M�ller Pedersen
> Thy Data Center Development A/S
>
> --- In [EMAIL PROTECTED], "kamchung322"
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > How to determine which records (rows) the user selected in
grid ?
> >
> > Regards.
> >
> > Kenneth.
Yahoo! Groups Links
| Yahoo! Groups Sponsor | |
|
|
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]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

