Connecting Tech Pros Worldwide Forums | Help | Site Map

Forcing Zero in Social Security Number Field and Putting Cursor at Left for Data Entry

Sami
Guest
 
Posts: n/a
#1: Nov 12 '05
Problem:

Social Security number being used in a database. First problem is
that it will not permit numbers beginning in zero to be entered - it
sees it as a null or empty space from what I can tell.

Next, foreign students have & as the initial part of their SSN. How
to do this??

Finally, how do I force the cursor to the far left of the field so the
person doing data entry does not have to backspace to the beginning of
the data entry field?

Please be specific - not a sophisticated person making the program!

Thanks.

PC Datasheet
Guest
 
Posts: n/a
#2: Nov 12 '05

re: Forcing Zero in Social Security Number Field and Putting Cursor at Left for Data Entry


Social Security Numbers are not numbers even though they say they are. They are
text because they can start with 0, start with & and US SSNs have two dashes. So
you need to go to your table and change the data type of your SSN field to text.
All your problems will go away!

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
resource@pcdatasheet.com
www.pcdatasheet.com


<Sami> wrote in message news:4q8p70peaa2tvkva56sm9ovnbuqfibq080@4ax.com...[color=blue]
> Problem:
>
> Social Security number being used in a database. First problem is
> that it will not permit numbers beginning in zero to be entered - it
> sees it as a null or empty space from what I can tell.
>
> Next, foreign students have & as the initial part of their SSN. How
> to do this??
>
> Finally, how do I force the cursor to the far left of the field so the
> person doing data entry does not have to backspace to the beginning of
> the data entry field?
>
> Please be specific - not a sophisticated person making the program!
>
> Thanks.[/color]


Ima Lostsoul
Guest
 
Posts: n/a
#3: Nov 12 '05

re: Forcing Zero in Social Security Number Field and Putting Cursor at Left for Data Entry


In article <ta3fc.6761$zj3.5807@newsread3.news.atl.earthlink. net>,
spam@nospam.spam says...[color=blue]
> Social Security Numbers are not numbers even though they say they are. They are
> text because they can start with 0, start with & and US SSNs have two dashes. So
> you need to go to your table and change the data type of your SSN field to text.
> All your problems will go away!
>
> --
> PC Datasheet
> Your Resource For Help With Access, Excel And Word Applications
> resource@pcdatasheet.com
> www.pcdatasheet.com
>
>
> <Sami> wrote in message news:4q8p70peaa2tvkva56sm9ovnbuqfibq080@4ax.com...[color=green]
> > Problem:
> >
> > Social Security number being used in a database. First problem is
> > that it will not permit numbers beginning in zero to be entered - it
> > sees it as a null or empty space from what I can tell.
> >
> > Next, foreign students have & as the initial part of their SSN. How
> > to do this??
> >
> > Finally, how do I force the cursor to the far left of the field so the
> > person doing data entry does not have to backspace to the beginning of
> > the data entry field?
> >
> > Please be specific - not a sophisticated person making the program!
> >
> > Thanks.[/color]
>
>
>[/color]


ARGH That is horrid! A number is not text simply bcasue it starts with
a zero... That is (IMHO) very poor programming. You are mixing the
storage of a value with the display there of. Look in the formatting of
the controls you use to input/display the SSN and you will see how to
handle SSNs that begin with one or more 0s without bastardizing your
data.
Sami
Guest
 
Posts: n/a
#4: Nov 12 '05

re: Forcing Zero in Social Security Number Field and Putting Cursor at Left for Data Entry


How do I do this? Where would I look if you do not want to tell me,
and what is it called? Thanks.

On Wed, 14 Apr 2004 06:33:14 GMT, Ima Lostsoul <me@myprovider.com>
wrote:
[color=blue]
>In article <ta3fc.6761$zj3.5807@newsread3.news.atl.earthlink. net>,
>spam@nospam.spam says...[color=green]
>> Social Security Numbers are not numbers even though they say they are. They are
>> text because they can start with 0, start with & and US SSNs have two dashes. So
>> you need to go to your table and change the data type of your SSN field to text.
>> All your problems will go away!
>>
>> --
>> PC Datasheet
>> Your Resource For Help With Access, Excel And Word Applications
>> resource@pcdatasheet.com
>> www.pcdatasheet.com
>>
>>
>> <Sami> wrote in message news:4q8p70peaa2tvkva56sm9ovnbuqfibq080@4ax.com...[color=darkred]
>> > Problem:
>> >
>> > Social Security number being used in a database. First problem is
>> > that it will not permit numbers beginning in zero to be entered - it
>> > sees it as a null or empty space from what I can tell.
>> >
>> > Next, foreign students have & as the initial part of their SSN. How
>> > to do this??
>> >
>> > Finally, how do I force the cursor to the far left of the field so the
>> > person doing data entry does not have to backspace to the beginning of
>> > the data entry field?
>> >
>> > Please be specific - not a sophisticated person making the program!
>> >
>> > Thanks.[/color]
>>
>>
>>[/color]
>
>
>ARGH That is horrid! A number is not text simply bcasue it starts with
>a zero... That is (IMHO) very poor programming. You are mixing the
>storage of a value with the display there of. Look in the formatting of
>the controls you use to input/display the SSN and you will see how to
>handle SSNs that begin with one or more 0s without bastardizing your
>data.[/color]

PC Datasheet
Guest
 
Posts: n/a
#5: Nov 12 '05

re: Forcing Zero in Social Security Number Field and Putting Cursor at Left for Data Entry


<<A number is not text simply bcasue it starts with a zero>>

Can you give me one example of a number that starts with a zero?

Steve
PC Datasheet


"Ima Lostsoul" <me@myprovider.com> wrote in message
news:MPG.1ae6a531fcce99fc9896e5@netnews.comcast.ne t...[color=blue]
> In article <ta3fc.6761$zj3.5807@newsread3.news.atl.earthlink. net>,
> spam@nospam.spam says...[color=green]
> > Social Security Numbers are not numbers even though they say they are. They[/color][/color]
are[color=blue][color=green]
> > text because they can start with 0, start with & and US SSNs have two[/color][/color]
dashes. So[color=blue][color=green]
> > you need to go to your table and change the data type of your SSN field to[/color][/color]
text.[color=blue][color=green]
> > All your problems will go away!
> >
> > --
> > PC Datasheet
> > Your Resource For Help With Access, Excel And Word Applications
> > resource@pcdatasheet.com
> > www.pcdatasheet.com
> >
> >
> > <Sami> wrote in message news:4q8p70peaa2tvkva56sm9ovnbuqfibq080@4ax.com...[color=darkred]
> > > Problem:
> > >
> > > Social Security number being used in a database. First problem is
> > > that it will not permit numbers beginning in zero to be entered - it
> > > sees it as a null or empty space from what I can tell.
> > >
> > > Next, foreign students have & as the initial part of their SSN. How
> > > to do this??
> > >
> > > Finally, how do I force the cursor to the far left of the field so the
> > > person doing data entry does not have to backspace to the beginning of
> > > the data entry field?
> > >
> > > Please be specific - not a sophisticated person making the program!
> > >
> > > Thanks.[/color]
> >
> >
> >[/color]
>
>
> ARGH That is horrid! A number is not text simply bcasue it starts with
> a zero... That is (IMHO) very poor programming. You are mixing the
> storage of a value with the display there of. Look in the formatting of
> the controls you use to input/display the SSN and you will see how to
> handle SSNs that begin with one or more 0s without bastardizing your
> data.[/color]


Bob Quintal
Guest
 
Posts: n/a
#6: Nov 12 '05

re: Forcing Zero in Social Security Number Field and Putting Cursor at Left for Data Entry


Ima Lostsoul <me@myprovider.com> wrote in
news:MPG.1ae6a531fcce99fc9896e5@netnews.comcast.ne t:
[color=blue]
> In article
> <ta3fc.6761$zj3.5807@newsread3.news.atl.earthlink. net>,
> spam@nospam.spam says...[color=green]
>> Social Security Numbers are not numbers even though they say
>> they are. They are text because they can start with 0, start
>> with & and US SSNs have two dashes. So you need to go to your
>> table and change the data type of your SSN field to text.
>> All your problems will go away!
>>
>> --
>> PC Datasheet
>> Your Resource For Help With Access, Excel And Word
>> Applications
>> resource@pcdatasheet.com
>> www.pcdatasheet.com
>>
>>
>> <Sami> wrote in message
>> news:4q8p70peaa2tvkva56sm9ovnbuqfibq080@4ax.com...[color=darkred]
>> > Problem:
>> >
>> > Social Security number being used in a database. First
>> > problem is that it will not permit numbers beginning in
>> > zero to be entered - it sees it as a null or empty space
>> > from what I can tell.
>> >
>> > Next, foreign students have & as the initial part of their
>> > SSN. How to do this??
>> >
>> > Finally, how do I force the cursor to the far left of the
>> > field so the person doing data entry does not have to
>> > backspace to the beginning of the data entry field?
>> >
>> > Please be specific - not a sophisticated person making the
>> > program!
>> >
>> > Thanks.[/color]
>>
>>
>>[/color]
>
>
> ARGH That is horrid! A number is not text simply bcasue it
> starts with a zero...[/color]


Good grief! a text is not a number just because it contains only
digits. I remember learning, oh about thirty years ago, that you
should us a numeric field if you are going to add, subtract,
multiply or divide the contents thereof, else use type text.

A numeric field may also be used as a key, but you can do it with
text fields as well.


There is no guarantee that future SSNs will contain only the
characters 0 through 9.


That is (IMHO) very poor programming.[color=blue]
> You are mixing the storage of a value with the display there
> of. Look in the formatting of the controls you use to
> input/display the SSN and you will see how to handle SSNs that
> begin with one or more 0s without bastardizing your data.[/color]

CDB
Guest
 
Posts: n/a
#7: Nov 12 '05

re: Forcing Zero in Social Security Number Field and Putting Cursor at Left for Data Entry


And as the original poster said, he must, now, include "&" in some cases.
That could be misinterpreted as a type-declaration character in a numeric
field.

Clive

"Bob Quintal" <bquintal@generation.net> wrote in message
news:827a78aa5e400e3dbdfd5003548f0d55@news.teranew s.com...[color=blue]
> Ima Lostsoul <me@myprovider.com> wrote in
> news:MPG.1ae6a531fcce99fc9896e5@netnews.comcast.ne t:
>[color=green]
> > In article
> > <ta3fc.6761$zj3.5807@newsread3.news.atl.earthlink. net>,
> > spam@nospam.spam says...[color=darkred]
> >> Social Security Numbers are not numbers even though they say
> >> they are. They are text because they can start with 0, start
> >> with & and US SSNs have two dashes. So you need to go to your
> >> table and change the data type of your SSN field to text.
> >> All your problems will go away!
> >>
> >> --
> >> PC Datasheet
> >> Your Resource For Help With Access, Excel And Word
> >> Applications
> >> resource@pcdatasheet.com
> >> www.pcdatasheet.com
> >>
> >>
> >> <Sami> wrote in message
> >> news:4q8p70peaa2tvkva56sm9ovnbuqfibq080@4ax.com...
> >> > Problem:
> >> >
> >> > Social Security number being used in a database. First
> >> > problem is that it will not permit numbers beginning in
> >> > zero to be entered - it sees it as a null or empty space
> >> > from what I can tell.
> >> >
> >> > Next, foreign students have & as the initial part of their
> >> > SSN. How to do this??
> >> >
> >> > Finally, how do I force the cursor to the far left of the
> >> > field so the person doing data entry does not have to
> >> > backspace to the beginning of the data entry field?
> >> >
> >> > Please be specific - not a sophisticated person making the
> >> > program!
> >> >
> >> > Thanks.
> >>
> >>
> >>[/color]
> >
> >
> > ARGH That is horrid! A number is not text simply bcasue it
> > starts with a zero...[/color]
>
>
> Good grief! a text is not a number just because it contains only
> digits. I remember learning, oh about thirty years ago, that you
> should us a numeric field if you are going to add, subtract,
> multiply or divide the contents thereof, else use type text.
>
> A numeric field may also be used as a key, but you can do it with
> text fields as well.
>
>
> There is no guarantee that future SSNs will contain only the
> characters 0 through 9.
>
>
> That is (IMHO) very poor programming.[color=green]
> > You are mixing the storage of a value with the display there
> > of. Look in the formatting of the controls you use to
> > input/display the SSN and you will see how to handle SSNs that
> > begin with one or more 0s without bastardizing your data.[/color]
>[/color]


Closed Thread