Re: how to gain numbers

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC 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)
  • Fwd: data type for ip addresses
    ... data type for ip addresses ... CHAR, though it isn't the biggest waste of space in this world. ... you could also decide to store it as four fields of SMALLINT. ... Please do not use this email for correspondence. ...
    (comp.databases.informix)