Sunday, November 22, 2015

১ টি টেবিলের ডাটা অন্য টেবিলে ২ বার না পরবার ভেলিডেশন ।

১ টি টেবিলের ডাটা অন্য টেবিলে ২ বার না পরবার ভেলিডেশন ।

১মঃ যেই ফিল্ডের ভেলিডেশন দিতে হবে তার রাইট সাইড কিল্ক করে, add SQL validate এ যেতে হবে আর নিচের কোডের মত লিখতে হবে।

if @StudentID is nullset @Result_ShowViewMessage ='StudentID ,Please Select Student.'
declare @StudentIDExists intset @StudentIDExists=(Select StudentID from ClassStudent where StudentID=@StudentID );
if (@StudentID = @StudentIDExists)begin
/* prevent the default action processing */ set @BusinessRules_PreventDefault = 1 /* set the focus on the field and display an error set @Result_Focus = 'TeacherName,Already Exists.' */set @Result_ShowViewMessage = 'Student is Already Exists'
end







Sunday, March 15, 2015

Calculate Value Set


Here we can Show you how to calculate 2 field in this application.

From Date : 12/1/2015
To Date : 23/1/2015
Total Day 11