Page 1 of 1

Script Function with Multiple inputs

PostPosted: Wed Nov 23, 2005 6:57 pm
by flxkid
I need to validate based on the concatenation of two inputs having a length smaller than a certain value (to make sure they will fit into a destination field without getting lobbed off at the end). I don't see a way to do this right now.

A good idea

PostPosted: Wed Nov 23, 2005 8:18 pm
by ian
Your suggestion is a good one. In fact I think there are two things we will add in the next release:
    Provide more than one input to a validate script function
    Provide a validate on length function
I have a sample map that I am happy to send you that shows with the current release how to validate on the length of one or more fields. This does not require VB Script, but does require two steps.
    The first is to use a Transform Object create a new column and put the field length into this column
    The second is to validate on this value
If you want the sample please email info@baycastle.co.uk.

New release

PostPosted: Mon Feb 26, 2007 9:27 am
by ian
In the new release of DataSlave, version 2.0 there is now support for multiple inputs to the Script function