gettingstarted
[Top] [All Lists]

Re: Problems putting a string in EditField

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Problems putting a string in EditField
From: Phil Heycock <pheycock at bellsouth dot net>
Date: Sun, 30 Jan 2005 22:43:15 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
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>

<Prev in Thread] Current Thread [Next in Thread>