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: Seth Willits <seth at freaksw dot com>
Date: Sun, 30 Jan 2005 19:43:47 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BAY2-F28D89B5B3D4E031A799E5CDA7C0 at phx dot gbl>
On Jan 30, 2005, at 7:24 PM, Lennox Jacob wrote:

I have tried
Range.Text = (format(R2, #.##) + " to " + format(R, #.##) ), I did not expect that to work anyhow.

Well, you forgot the quotes - the second parameter to Format is a string. So you need:

Range.Text = Format(R2, "#.##") + " to " + Format(R, "#.##")



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"Great spirits have always encountered violent opposition from mediocre
minds."
    -- Albert Einstein
------------------------------------------------------------------------ ---

_______________________________________________
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>