Difference between Cstr and ToText
I am searching all over internet, what is the difference between Cstr and totext?
If they are same, then which one to use when?
Nikhil Sabnis replied
There is a difference. If you are familliar to Visual Basic family of functions then Cstr() will not be a new function for you.
Since Crystal Reports supports Visual Basic syntax it also supports this function. Whereas ToText() is from Crystal Reports implementation though it is available in both Visual Basic and Crystal syntax.
I don't remember if I had used Totext() as part of Visual Basic anytime.
The functionality of both functions remains same though.