var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: String Length in DTS
I am quite new in DTS and I want to calculate the length of a string. I am trying to use ActiveX script - Java Script and here is my code
if(length(DTSSource("MaNo")) ==5). It parse fine but when I run a test it brings an error "Error Description: Object Expected"
I think syntax is wrong
if LEN((DTSSource("MaNo")) =5) then
The formula returns correct length but the if statements execute no matter what length. What could be the cause?