Welcome to SPN

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

Sign Up Now!

how can I change a field to have dashes, (ie social security no.)

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

  1. D Henderson

    D Henderson
    Expand Collapse
    Guest

    I want to change the numbers, which are social security numbers, in a field
    to have the dashes in the correct places. Right now the data type I have for
    this field is number.
     
  2. Loading...


  3. Ofer Cohen

    Ofer Cohen
    Expand Collapse
    Guest

    I'm not sure on the right format you are looking for, but you can use a query
    to return the data in the right format


    NewFieldName: Format([YourFieldNAme],"##-######")

    --
    Good Luck
    BS"D


    "D Henderson" wrote:

    > I want to change the numbers, which are social security numbers, in a field
    > to have the dashes in the correct places. Right now the data type I have for
    > this field is number.
     
  4. FD

    FD
    Expand Collapse
    Guest

    Hi

    U need to specify the Input Mask of the number "##-####".. or whatever
    is the format. Keep the data type of the field as number.

    D Henderson wrote:
    > I want to change the numbers, which are social security numbers, in a field
    > to have the dashes in the correct places. Right now the data type I have for
    > this field is number.
     
  5. Jerry Whittle

    Jerry Whittle
    Expand Collapse
    Guest

    Social Security Numbers aren't really numbers and shouldn't be stored that
    way. Do you have any SSN's for people who got them in the upper New England
    area? If you are storing them as a number, the leading zeros are missing.
    Same goes for Zip Codes.

    You can use the following format to display the dashes and leading zeros
    with your existing numbers:
    000-00-0000
    --
    Jerry Whittle
    Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


    "D Henderson" wrote:

    > I want to change the numbers, which are social security numbers, in a field
    > to have the dashes in the correct places. Right now the data type I have for
    > this field is number.
     

Share This Page