>Tip: You can use: transform( reccount() ) and that will trim spaces as well.
I used to like transform() - but the results are not always trustworthy. For instance, in VFP 6, SP5, (-80.1) returns "-80.09999999999999".
However, I don't know whether it will ever fail on an integer value - I still use it in many places of my program.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)