jeudi 19 janvier 2012

Multiple grid selections

you can add a method on  buton clicked
void clicked()
{
  CustTable custTableLocal;
  FormDataSource custTableDs;
  ;
  super();
  custTableDs = custTable.dataSource();
  for (custTableLocal = custTableDs.getFirst(true) ?
    custTableDs.getFirst(true) :
    custTableDs.cursor();
    custTableLocal;
    custTableLocal = custTableDs.getnext())
  {
    info(strFmt("%1 %2", custTableLocal.AccountNum, custTableLocal.Name));
  }
}

you can use this  form ve rapors with args.Record()

Aucun commentaire:

Enregistrer un commentaire