Eval() is not documented in the DTS package, but it is documented on Microsoft's Script site.
It works just like the VFP EVAL() function. BUT, it is not available in VB. And CallByName does not perform the same function.
It would be good to know if there is a built-in VB fucntion that performs the same function, or, barring that, if someone has written one.
Later,
Bob
>Eval() evaluates whatever expression you pass it and returns the result.
>
>Ex.:
>- Eval("Date()") will return the current date
>- Eval("lnRecCount") will return the content of the variable lnRecCount
>
>I'm pretty sure that there is no corresponding function in VB to do that.
>
>>What is Eval doing exactly? I think that Eval is used to call a function or stuff like this!
>>
>>If my thought are good, in VB6 you can use the new CallByName statement but I don't remember having see it in VB Script!
Database Development Team