BeforeLinePopulate event

Examples


The BeforeLinePopulate event occurs each time the accounting system displays a new line in a grid.

Syntax

grid_BeforeLinePopulate(RejectLine As Boolean)

Parameters

grid – A grid object.

RejectLine As Boolean – If True, the accounting system won’t display the current line in the grid.

Comments

When Microsoft Dynamics GP initially displays a grid, the BeforeLinePopulate event occurs repeatedly until the grid is filled. It also occurs for each line displayed when the user displays new lines in the grid, (typically, through scrolling up or down in the grid).

Use the BeforeLinePopulate event to selectively filter items from a grid. When set to True, the RejectLine parameter prevents the current line from appearing in the grid.


Documentation Feedback