I have succefully installed HF 34551SY for SL2015 that was fixing the issue of OnCancel, OnDelete, OnFinish, OnInsert and OnUpdate in customization VBA. Before this fix, my custom screens using any of these procedures could load and display. After the HF, custom screens with OnCancel, OnDelete, OnFinish, OnInsert and OnUpdate now crash.
In SL2011, the procedure is
Private Sub Update1_OnUpdate(Level As Integer, InsertFlg As Integer, retval As Integer) and it compiled without an issue. In 2015, after the HF, the procedure now is
Private Sub Update1_OnUpdate(ByVal Level As Integer, ByVal InsertFlg As Integer, retval As Integer).
The difference being the key word 'ByVal' before Level and InsertFlg.
So if I import the customization in 2015, it comes without the key words 'ByVal' and the screen crashes(aka stopped responding). To resolve this I thought I would use the Éxclude EventCode option when selecting the customization level so that I can manually correct the code. But selecting this option still processes the code and the screen still crashes and closes without loading and displaying the screen. I am not able to correct these errors in the custom code because the screen wont load!!.
Any ideas or work around on this is much appreciated.
Thanks
Edwin
*This post is locked for comments