In a C10/NT10 app, I use SendEmail. See image Tree.png. The procedure PasswordResetRequest (a memory form) has the URL on Save set to ResultOfSendEmail.
I'm trying to duplicate this on the UpdatePhysicianList form, a normal form that updates a browse. See image Form.png. The form has a check box control that when set to Yes, will set the email parameters and call the SendEmail procedure. The code for this is in the ValidateAll embed and part of this can be seen in the image Code.png. Upon saving the form, the ResultOfSendEmail page is not displayed, even though the URL on Save is set as seen in image Form.png. This page does display properly when the PasswordResetRequest memory form is used.
I thought this might be due to the form always returning to the browse. So, I want to call ResultOfSendEmail from my code. How can I do this? I tried ResultOfSendEmail(p_web) at the end of my code but it did not seem to work. Perhaps there is a better way to do this?
Thanks,
Jeff King