Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

-newbie- Number Format

Discussion in 'Information Technology' started by Ed, Jul 28, 2006.

  1. Ed

    Ed
    Expand Collapse
    Guest

    Hello, I made a Table where there is a entry: "ft 2" I need to enter a number
    with 2 decimal places. I just finished a form, but I haven't managed to set
    it to have the number in that format, it gives no decimal places. What do I
    need to do?

    thanks in advance
     
  2. Loading...

    Similar Threads Forum Date
    Shabad Numbering System New to Sikhism Dec 1, 2015
    USA A Heart Attack And The Numbers Breaking News Aug 2, 2014
    Pacific Borneo: Sikhs small in number, strong in presence Breaking News Nov 11, 2013
    World Shrinking Numbers and Growing Persecution Threaten Sikhs and Hindus in Afghanistan Breaking News Nov 7, 2013
    SciTech Mammals pick offspring’s sex to maximize number of grandchildren, study shows Breaking News Jul 11, 2013

  3. SusanV

    SusanV
    Expand Collapse
    Guest

    Hi Ed,

    You currently have a text field, and it's not going to format the number
    part if it's a combo of text and numbers. You should break this info into 2
    fields - one for the number, and set the datatype to Double, and another
    field for the measurement type (you could put these values in a lookup table
    and use a drop-down on your form - easier for users, and no typos, as you
    are only going to have a set number of measurements - like inches, feet,
    etc).

    For reports where you want to see 2.25 Feet, you could either concatenate
    the 2 fields, or simply put the controls next to each other, aligning the
    number right and the measurement type left.

    --
    hth,
    SusanV


    "Ed" <Ed@discussions.microsoft.com> wrote in message
    news:B2D30319-A5EA-477A-8E7A-C1C17B5FAFFC@microsoft.com...
    > Hello, I made a Table where there is a entry: "ft 2" I need to enter a
    > number
    > with 2 decimal places. I just finished a form, but I haven't managed to
    > set
    > it to have the number in that format, it gives no decimal places. What do
    > I
    > need to do?
    >
    > thanks in advance
     
  4. Rick B

    Rick B
    Expand Collapse
    Guest

    Is your field set up as an Integer in the table? Integers (by definition)
    have no decimal places; they are whole numbers.

    Change the field size to one that supports decimals. Use the help file for
    more information.

    --
    Rick B



    "Ed" <Ed@discussions.microsoft.com> wrote in message
    news:B2D30319-A5EA-477A-8E7A-C1C17B5FAFFC@microsoft.com...
    > Hello, I made a Table where there is a entry: "ft 2" I need to enter a
    > number
    > with 2 decimal places. I just finished a form, but I haven't managed to
    > set
    > it to have the number in that format, it gives no decimal places. What do
    > I
    > need to do?
    >
    > thanks in advance
     

Share This Page