Hi, I have a popup form that may be updated or deleted depending on some validations.
The popup forms has the Button for deletion, I dont delete from the browse.
Ive added the validation code to the PreUpdate to change the form to view state instead of change to avoid change and delete and let the user see it.
How do I show the error message in the popup form?
Ive tried with p_web.message() and nothing, then with p_web.showinfo, but this info is showed in the backgroud page.
The code is like the attached image.
By the way... Ive read that changing ans to viewrecord is enought but there are some ssv settings that I think I have to change, then I need to add an END for the ELSE
How can I do it the waiser way?