The BeforeLineGotFocus event occurs when the focus moves to a new line in a grid. It occurs before the Microsoft Dynamics GP line got focus event.
grid_BeforeLineGotFocus()
• grid – A grid object.
Use the BeforeLineGotFocus event to evaluate the contents of fields in the line gaining focus.
Microsoft Dynamics GP rarely uses the line got focus event, so whether you choose the VBA AfterLineGotFocus or BeforeLineGotFocus event is of little consequence.