Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Using Alias Post Reply Post New Topic
Author Message
Mellison
Newbie
Newbie
Avatar

Joined: 20 Nov 2009
Location: India
Online Status: Offline
Posts: 15
Quote Mellison Replybullet Topic: Using Alias
    Posted: 20 Nov 2009 at 11:24pm
i have scenario in which i will have to do a left outer join with the table itself, for Example SQL Query:
                     Select ( str(p.questionNumber)+str(q.QuestionNumber) ) as sortOrder from Questions q left outer join Questions p on q.parentQuestionID = p.QuestionID order by sortOrder
               i have done it in Crystal report using alias in Data Expert for Question table.When i see the preview in Crystal report i am able to see the Questions from the questions table in  sorted order.But while using the same rpt file from the jave application i am not able to see the questions. i am not able to figure out the reason why it is happening???.
P.S: ParentQuestionID Column in Question Table has NULL values also.Is there any property that i have set for this??
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.016 seconds.