简体   繁体   中英

get number of rows in grid ax 2012

在Dynamics AX 2012 R3的init方法上,如何在窗体初始化时获取网格中的行数?

After super() you can use SysQuery::countTotal(). You can get query from your datasource.

您可以在此处找到SysQuery :: CountTotal的示例http://www.doens.be/2010/03/counting-the-number-of-records-in-a-queryrun/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM