Hi all,



I'm trying to validate a delete action in a webform. I've added my
validation code to the validateWrite method on the datasource of the
webform, like this:



public boolean validateDelete()

{

    boolean ret;



    ret = super();





    if(dsInventJournalTable.Posted == NoYes::Yes)

    {

        ret = false;

    }

   

    return ret;

}



But it is still possible to delete a record. Even if I delete my validation
code and set the variable ret to false no matter what, it's still possible
to delete a record. Does anybody know a solution for this? Is it a bug?



Thank you in advance!



Regards,



Gideon







This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to