cancel
Showing results for 
Search instead for 
Did you mean: 

Capture BP and Item Master "VCR" navigation event

Former Member
0 Kudos
171

If a BP or Item Master Data record appears that contains notes in the "Details" tab, I'd like a message box to come up alerting the user to this fact. Seems like it would be fairly simple. I can do this when a BP or Item is brought up from a orange arrow without a problem. However, the tricky part seems to be trapping the navigation button event when the user navigates through the master data using the "VCR" buttons. I've not yet found the correct event to trap to do this reliably AFTER the master data loads from the VCR button press. Any ideas or advice would be appreciated.

Thanks,

Greg

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185703
Active Contributor
0 Kudos

You are asking a question that has been posted at least twice in the past weeks

Please see this thread:

+ this one:

HTH,

Frank

Former Member
0 Kudos

I'm 90% there. I've been able to trap a single record navigation, but still am not sure how to trap the event for "Move To First Record", and "Move To Last Record". Below is my code snippet:


If pVal.EventType = et_ITEM_PRESSED And _
 pVal.FormMode = 1 And pVal.ItemUID = 18 And _ pVal.Before_Action = False Then

        oSBO_Application.MessageBox ("Navigation happened.")

End If