Re: how to gain numbers

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Thu, 16 Aug 2007 17:44:32 -0700, Naveed Pathan
<NaveedPathan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

thanks for the response
dear friends i do know to use Text data type instead of number data type if
i am not using that field for calculation but dear friends i am using the
field for numbers + i need to retrieve the serial of a specific data.
like i have mentioned earlier.

Open the table in design view.

Select this field.

In the second column of the design grid, next to the name, you can select the
datatype - text, number, date/time, etc. Select Text.

"5" and "9" and "0" are characters as well as being numbers, you can simply
store an eight-character long text string which consists only of numeric
characters. This can be sorted, searched, retrieved, printed - it even is
*better* than a Number field in that you can store leading zeros.

John W. Vinson [MVP]
.



Relevant Pages

  • Re: how to refresh objects if a column changes
    ... Look at the INFORMATION_SCHEMA.ROUTINES view and perform a wildcard search ... in the ROUTINE_DEFINITION column for the column name whose data type ... > Hi friends ... this column so that i could modify them to reflect new chnage? ...
    (microsoft.public.sqlserver.programming)
  • RE: Errors while inserting into long data type
    ... > Hi Friends, ... > I am using oracle database and I have column of long data type. ... Ronald ...
    (perl.dbi.users)
  • Re: date and datetime
    ... > But when I connect from VFP using DSN, it returns the value as date/time. ...
    (microsoft.public.fox.vfp.dbc)
  • Re: How to overcome very slight calculation error.
    ... Dim MyNumber As Single ... you can't store, or nor use "real" numbers, as they are a approximates. ... solution in this case is to use decimal number, or a data type of currency. ...
    (microsoft.public.access.modulesdaovba)
  • Re: simulating in visual basic - very stupid beginners question
    ... the computer simulated time clock which is supposed to be 7:15 when it ... You can store any datetime in Date, by fetching from a system clock, ... Here is a quick tutorial of how to work with the Date data type in VB. ... point arithimetic may arise as the Date storage is a Double. ...
    (microsoft.public.vb.general.discussion)