9/08/2011

Axpta X++ : How export data in grid selected?

In Axapta you want export data in grid selected.
You use code :

for (ตัวแปร Table= Desing From.getFirst(true) ? Desing From.getFirst(true) : Desing From.cursor();
ตัวแปร Table; ตัวแปร Table= Desing From.getnext())
{
Data you write.
}

Example :
for (tmpProdTable = ProdTable_ds.getFirst(true) ? ProdTable_ds.getFirst(true) : ProdTable_ds.cursor();
tmpProdTable; tmpProdTable = ProdTable_ds.getnext())
{
print data.
}

No comments:

Post a Comment