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

Convert.subString stopped working

$
0
0

Hi,

 

For some reason this piece of code has stopped worked:

 

var date = APPLICATION.getInfo().dateNowInternalFormat;

currentYear = Convert.subString(date, 0, 4);

currentMonth = Convert.subString(date, 4, 6);

 

This is the error message I get for the rows that starts with currentYear and currentMonth:

Couldn´t resolve reference to Member 'subString'

Couldn´t resolve reference to Variable 'Convert'

 

Any idea what I´m missing?

 

Thanks,

Anders


Viewing all articles
Browse latest Browse all 4216

Trending Articles



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