ulisses
ulisses

Reputation: 1581

How to group record in form?

I have in my Grid al lot record, If I want to display with group By for example for ItemId.

In the init

QueryBuildDataSource    qbds;
Query                                   query;
;
super();
query = new Query();
qbds = query.addDataSource(tablenum(InventTable));

How should I do to group by Item?

Upvotes: 0

Views: 1460

Answers (1)

Thomas Post
Thomas Post

Reputation: 535

qbds.addgroubyField(fieldnum(InventTable,ItemId));

Upvotes: 1

Related Questions