Page number and line number in data source
Posted: Mon Aug 27, 2012 6:42 am
Hello.
I am a bit confuse, becouse i thought it will not have problems with it, but i do.
I want to do two things.
First:
I want have page number on page when number of page is greater than 1. I tried using system variables, but all failed. I used conditions like "TotalPageCount == 1", "TotalPageCount > 1", "IsFirstPage == IsLastPage", "IsFirstPage == true && IsLastPage == true" - when i was displaying values of this variables, they were correct, but conditions didn't work. I add attachment to show it. Maybe i am doing something wrong - on 90% i am doing something wrong, becouse it should work, but i am not sure what unfortunately.
Second:
I have three data source with the same business obcjet and they display similar field, but in different place of report and the data i want to display in each data source is different. I have field name "Type" (it is int) and when the value of this field is 0 i want to display it in first data source, if the value is 1 i want to display it in second data source, etc. I tried using filter, but it didn't work, becouse all data sources take the last added filter, not their own filter. So i used conditions on all fields and it work as i wanted (but still don't know why filters didn't work). And now i also want to display line in each data source starting from 1. I was trying using system variables Line and LineThrough and GroupLine, but it never work fine.
Do you have any idea how to fix this two problems?
Thank you in advance.
I am a bit confuse, becouse i thought it will not have problems with it, but i do.
I want to do two things.
First:
I want have page number on page when number of page is greater than 1. I tried using system variables, but all failed. I used conditions like "TotalPageCount == 1", "TotalPageCount > 1", "IsFirstPage == IsLastPage", "IsFirstPage == true && IsLastPage == true" - when i was displaying values of this variables, they were correct, but conditions didn't work. I add attachment to show it. Maybe i am doing something wrong - on 90% i am doing something wrong, becouse it should work, but i am not sure what unfortunately.
Second:
I have three data source with the same business obcjet and they display similar field, but in different place of report and the data i want to display in each data source is different. I have field name "Type" (it is int) and when the value of this field is 0 i want to display it in first data source, if the value is 1 i want to display it in second data source, etc. I tried using filter, but it didn't work, becouse all data sources take the last added filter, not their own filter. So i used conditions on all fields and it work as i wanted (but still don't know why filters didn't work). And now i also want to display line in each data source starting from 1. I was trying using system variables Line and LineThrough and GroupLine, but it never work fine.
Do you have any idea how to fix this two problems?
Thank you in advance.