Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Order By Code in my Report Post Reply Post New Topic
Author Message
Sh2007
Newbie
Newbie
Avatar

Joined: 02 Jul 2008
Location: Iran
Online Status: Offline
Posts: 1
Quote Sh2007 Replybullet Topic: Order By Code in my Report
     Posted: 02 Jul 2008 at 11:58pm
Hi dear
my report design in vb6.
my report need to Order By Code1 and Code2  that user selected code1 or code2
 
how i write this action for my repClapClapClap
 
IP IP Logged
venkatesha
Newbie
Newbie


Joined: 29 Jun 2008
Online Status: Offline
Posts: 35
Quote venkatesha Replybullet Posted: 03 Jul 2008 at 1:48am
Have an Formula and Input Parameter. In the Formula check for the input parameter check code1 or Code 2.

 if({?inputParmameter}='Code1') then
    {Code1}
else
        {Code2}
 Accordingly use the field to sort.
In Report -> Record Sort Expert
Select the Field for Sort Fields.
IP IP Logged
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