Welcome to SPN

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

Sign Up Now!
  1. Guest ji, please consider donating today!
      Become a Supporter    ::   Make a Contribution   
    Monthly Recurring Target: $300 :: Achieved: $95

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.
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page