Hi,

You have to do something with this:

if (Table_ds.getFirst(true))
{
     for ( tmpDS = Table_ds.getFirst(true); tmpDS; tmpDS =
Table_ds.getnext())
     {
      //do something with the selected lines
      }
}
else
{
      //only one line selected
}

Good luck.



With kind regards,

Pascal Dutour Geerling




                                                                          
             "byteway_so"                                                 
             <[EMAIL PROTECTED]>                                            
                                                                        To
             04-02-2004 16:39          [EMAIL PROTECTED] 
                                                                        cc
                                                                          
             Please respond to                                     Subject
             development-axapt         [development-axapta] read multi row
             [EMAIL PROTECTED]         select                             
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          




Hi all,

Is there a way to read the id's of the selected rows?
I can imagine there is a form with a grid with multi select set to
true. Then when i click a button i want to read all selected id's.

void clicked()
{
  MyTable mytable;
  ;
  while mytable.id.selected()
  {
    print mytable.id;
  }
  pause;
}

Could it be something like the above?
Thanks in advance,
/b





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:
http://docs.yahoo.com/info/terms/








Yahoo! Groups Links

Reply via email to