RE: Dynamic SL 2015 Screen crash when choosing PV.
Hi there,
For us, the issue appeared to be isolated to screens with custom vba. Specifically, the Update1_onUpdate function now has more explicit declarations, and these need to be edited. We proceeded as follows, but I guess it would work to edit the cst file and change the Update1_onupdate directly before importing to SL2015.
1. In the working SL2011 version, export the customization and check the box to include vba as text.
2. Edit the cst file and copy the custom code - save it in a text file and then remove it from the cst. Leave all the screen positional information, just remove your custom VBA at the end of the file.
3. In your SL2015 database, delete all customizations for this screen.
4. Import the cst into SL2015 (without the custom code).
5. Once the import is complete, open the screen in SL2015 and go into customize mode and open the VBA editor (should be blank). Paste in the code from step 2.
6. Edit the code and change the declarations for Update1_onUpdate from:
Private Sub Update1_OnUpdate(Level As Integer, InsertFlg As Integer, retval As Integer)
to:
Private Sub Update1_OnUpdate(ByVal Level As Integer, ByVal InsertFlg As Integer, retval As Integer)
(Note the ByVal keywords on the first two but not the third parameter).
7. Save and recompile.
8. Retest the screen in SL2015.
This worked for us and the F3 now brings up a (slow!) PV list. Now if only we could figure out why it is so slow...