General information
Category:
Third party products
Title:
VMP framework: possible bug on Add to screen
Environment versions
Network:
Windows Server 2012
To those of you who still run VMP, can you confirm this action? It is set up as follows:
- uses frmDEgrdNav2Pages
- uses a table on the Nav grid
- uses a view for the 2nd page for data entry (.icMainViewAlias)
Steps to reproduce:
1) navigate to a record (not necessary but easier to see)
2) Add a new record; enter some stuff. Focus should be on the view page (usually page 2)
3) Cancel the add
Result: I had not noticed this before - I am left with all disabled, blank fields; reason being is that the view's new record has been deleted because the Add was cancelled and this leaves the record pointer at EOF for the view and thus VMP code must disable everything.
Workaround (which I don't like), in .CancelAfterSuccess(), if pcMode = "ADD", force the active page back to Page 1 (the Nav grid) because then if you go back to Page 2 or nav in the grid, the view gets refreshed properly.
I would have thought that the view would have popped back to the previous record (and maybe I need to track that down instead).
Thanks,
Albert
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only