Skip to Content
0
Mar 27, 2017 at 11:19 AM

Inconsistent results using getMembers

55 Views Last edit Sep 04, 2017 at 01:48 PM 2 rev

Using Design Studio 1.6 SP2 with a BEx query as a data source. Below is my code. Field ZPTCEXPDT is not displaying when the date is 10/16/2019 but displays when it is 10/17/2019 or 10/01/2019. Do you know what could be causing this?

var PTCE = DS_PA.getMembers("ZPTCEXPDT", 1);

PTCE.forEach(function(Name3, index) {

//TEXT_21.setText(Name3.text);

if (Name3.text == "#") {

TEXT_21.setText("N/A");

} else {

TEXT_21.setText(Name3.text);

}

});

Attachments

capture-query.png (128.6 kB)
data.png (141.7 kB)