Joined: 29 Jun 2008
Online Status: Offline
Posts: 35
Posted: 09 Jul 2008 at 6:13am
Local numbervar i; Local stringVar sno ; if(OnFirstRecord) then ( for i := {?Param2} to {Sno.RollNo} do ( sno:= (sno + ToText(i)+ chr(13)); ); sno; ) else if(OnLastRecord) then ( if({Sno.RollNo} < {?Param2}) then ( for i := {Sno.RollNo} to {?Param2} do ( sno:= (sno + ToText(i)+ chr(13)); ); ); sno; ) else (
if( ({Sno.RollNo} <> next({Sno.RollNo})) ) then ( if ((next({Sno.RollNo}) < {?Param2})) then for i := {Sno.RollNo}+1 to next({Sno.RollNo} )-1 do ( sno:= (sno + ToText(i)+ chr(13)); ) else for i := {Sno.RollNo}+1 to {?Param2} do ( sno:= (sno + ToText(i)+ chr(13)); )
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum