AscB function in SSIS fails

  • All,

    I am trying to use the following code in a Script task:

    bytPassword(count - 1) = CByte(AscB(Mid(key, count, 1)))

    And when I run the debugger it keeps falling over at "AscB" not being declared. Does this function not exist in SSIS? Is there an alternative or as is more likely have I coded this incorrectly?

    Cheers,

    Ian

  • The function you need to use is Asc.

  • Thanks Erik - That's worked a treat.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply