How multiple selec records in a grid !! Axapta


1. Set Properties Button     MultiSelection = Yes
2.Coding

void clicked()
{
    Y_Customer    Customer;

    MultiSelectionHelper helper = MultiSelectionHelper::construct();

    helper.parmDatasource(Y_Customer_ds);

    Customer = helper.getFirst();
    while (Customer.RecId != 0)
    {
        info(Customer.CustAccount);

        Customer = helper.getNext();
    }
    super();
}

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

เริ่ม ต้นเขียนโปรแกรมกับ กับ X++

date Functions Axapta X++