It would work, if it was formatted properly. The format specification needs
to be in quotes:
Range.Text = format(R2, "#.##") + " to " + format(R, "#.##")
P.
******************************************
on 1/30/05 10:24 PM, Lennox Jacob at lenpartico at hotmail dot com wrote:
> I have two values R and R2 which are of the format Double.
> I have an EditField named Range.
> I would like to put "R to R2" [(the value of R) to (the value of R2)], say R
> is 5.6 and R2 8.3, I would like to put 5.6 to 8.3 as a string in
> EditFieldRange.
> I have tried
> Range.Text = (format(R2, #.##) + " to " + format(R, #.##) ), I did not
> expect that to work anyhow.
> Kindly help.
> Thanks.
> Lennox.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|