Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Whats wrong with this switch statement Post Reply Post New Topic
Author Message
karenros
Newbie
Newbie


Joined: 28 Jul 2008
Location: United States
Online Status: Offline
Posts: 14
Quote karenros Replybullet Topic: Whats wrong with this switch statement
    Posted: 15 Aug 2008 at 8:30am
switch (
            i = 0, r = DescriptionReturn(0,value2,Totact2 ,value3,Totact3,value4,Totact4,value5 ,Totact5,value6,Totact6 ,value7,Totact7,value8,Totact8,value9,Totact9,value10,Totact10,value11,Totact11,value12,Totact12,value13,Totact13,value14,Totact14,value15,Totact15), 
            Rtrim(r) <> "",r,
            rtrim(r) = "", "LOAN INTEREST",
            i = 9, r = DescriptionReturn(9, value2,Totact2 ,value3,Totact3,value4,Totact4,value5 ,Totact5,value6,Totact6 ,value7,Totact7,value8,Totact8,value9,Totact9,value10,Totact10,value11,Totact11,value12,Totact12,value13,Totact13,value14,Totact14,value15,Totact15),
            Rtrim(r) = " ", "GAIN LOSS",
             i<>0 or i<>9, r =  DescriptionReturn(i,value2,Totact2 ,value3,Totact3,value4,Totact4,value5 ,Totact5,value6,Totact6 ,value7,Totact7,value8,Totact8,value9,Totact9,value10,Totact10,value11,Totact11,value12,Totact12,value13,Totact13,value14,Totact14,value15,Totact15) 
)
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.031 seconds.