hello ..
i created new parm noYes in a contract class
i need when this enum value is cheked some records will delete from tmp table
so i wrote next code after data inserted in tmp table
parmNoYes = dataContract.parmSimiProduct(); if (parmNoYes == NoYes::Yes) { delete_from t_PtodTotalTMP where t_PtodTotalTMP.ItemId == "1101020"; }
but nothing deleted from tmp table even checked or not
so i change the code
if (parmNoYes == NoYes::No) { delete_from t_PtodTotalTMP where t_PtodTotalTMP.ItemId == "1101020"; }
here the record 1101020 is deleted even checked or not
any help
thank you in advance ..
1101020
*This post is locked for comments