Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Dropdown.setItem() - populate using variables

$
0
0

Hi,

 

I have a requirement is to have a dropdown box showing the current year and the past 2 years (i.e. 2014, 2013 and 2012).  One way is to parse the current year using Application.getInfo().dateNow.  However, the dropdown.setItem() can only accept ValueTextList.

 

Can anyone please advise how a string / int variable can be converted to ValueTextList format?

 

Many thanks,

Jianyun


Viewing all articles
Browse latest Browse all 4216

Trending Articles



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