I have a store procedure name "TestOver3" and i want to check if it return any values. I used the following code in the Before record added.
Thx for your help.
string strSQLExists2 = "EXEC TestOver3 '" + values["Class"].ToString() + "', '" + values["Divide"].ToString() + "', '"+DateWeek+"'"; XVar rsExists2 = CommonFunctions.db_query(strSQLExists2, null); XVar data2 = CommonFunctions.db_fetch(rsExists2); if(data2) { message = "ΥΠΑΡΧΟΥΝ 3 ΔΙΑΓΩΝΙΣΜΑΤΑ ΑΥΤΗ ΤΗΝ ΕΒΔΟΜΑΔΑ"; return false; } else
Thx for your help.