Skip to Content
0
Former Member
Jun 13, 2011 at 10:58 AM

Can we change the height of the Section and postion of Controls in Designer

45 Views

Hi All,

I have a question/issue in implementing a report in Crsyatl Designer2008. Hence writing in to get a solution for the same.

Question:

Can we change the height of the Section and postion(Y Position) of Controls in Crystal Designer 2008 dynamically based on some condition?

Explanation of the question:

Imagine I have 4 Charts in the 'Report Footer' Section such that these Charts are to be displayed as

Chart1 Chart2

Chart4 Chart3

Each Chart displays data for a different Country viz Country1,2,3 and 4.

Now if the resultset data does not have any Country's data then the Chart's will change positions and will advance such that there is no empty space visible to the user.Imagine there is no data for Country2 then the output should look like

Chart1 Chart3

Chart4

I can acheive this ,since I can change X postion of a control(or chart)

Imagine that there is no data for Country2 and Country3 then the output should look like

Chart1 Chart4

I am unable to acheive this ,since I am not able to change Y postion of a control(or chart)

The Charts do not get displayed if there is no data for a particular Country, but I am unable to move the other charts so that they will replace the empty Charts place.

Also incase of only 2 or less than 2 Countries in the data, Can i reduce the height of the Report Footer Section as well?

Thanking all in anticipation.

Regards.

Ajit.

Edited by: aparmar12 on Jun 13, 2011 2:13 PM