Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Time Range from - to (Date fields): only data in the time range when there data in the from/to fields available

$
0
0

Hello,

 

I have two date fields for a time range. I select them and filter the datasource. That works, when there are data at the selected dates. When at the selected date are no data is available, but between the dates it is - I get no data. What I have to do to get the expected data between the dates, althought there is no data in the from/to date fields?

 

Thank you in Advance!

 

Time Range - Date Field.PNG

 

 

//Time Range

     //Extract year month day

       var Date_from_year = Convert.subString(DATE_FROM.getDate(), 0,4);

       var Date_from_month = Convert.subString(DATE_FROM.getDate(), 4,6);

       var Date_from_day = Convert.subString(DATE_FROM.getDate(), 6,8);

          var Date_to_year = Convert.subString(DATE_TO.getDate(), 0,4);

       var Date_to_month = Convert.subString(DATE_TO.getDate(), 4,6);

       var Date_to_day = Convert.subString(DATE_TO.getDate(), 6,8);

 

//time range assemble in new format

Date_Range = Date_from_day+"."+Date_from_month+"."+Date_from_year +" - "+ Date_to_day+"."+Date_to_month+"."+Date_to_year;

DS_1.setFilterExt("RCRACI01___F57", Date_Range);

 

 

 

Version:Design Studio Version 1.6 (Version: 16.0.5)

Searching: I am searching every time before I am open a new discussion at SAP Help and in the Community


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>