473,326 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Which Datatype to use for Phoneno

274 100+
hi all
Which datatype I should use in Access to store phone numbers that will be of max this long
7785999999
I am using text I think its bad approach.
Nov 24 '07 #1
3 1269
QVeen72
1,445 Expert 1GB
Hi,

Text is the Best approach.
As I feel, in future, if you need to add STD/ISD Codes to phone Number,
(say +(91)-080-202922828), Text's are easy. You cannot store such data in Numeric Fields.
Just From Front End Validate the Textbox accordingly..

Regards
Veena
Nov 24 '07 #2
Mohan Krishna
115 100+
Hi !

As Veena said it is suggestible to take TEXT for such numerical values, which don't need any calculations to operate on.

ALL THE BEST!
Nov 25 '07 #3
Killer42
8,435 Expert 8TB
Text is the Best approach.
As I feel, in future, if you need to add STD/ISD Codes to phone Number,
(say +(91)-080-202922828), Text's are easy. You cannot store such data in Numeric Fields.
Actually, you can. But you may not want to. You would have to do it carefully, and format for display when you retrieve it.

For instance, you could store this as a 14-digit number and just add the other characters on the display. It seems like more work, but depending on the circumstances it may be useful to make the data smaller or help with things like grouping the data.
Nov 26 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: John Bentley | last post by:
John Bentley: INTRO The phrase "decimal number" within a programming context is ambiguous. It could refer to the decimal datatype or the related but separate concept of a generic decimal number....
19
by: John Bentley | last post by:
John Bentley: INTRO The phrase "decimal number" within a programming context is ambiguous. It could refer to the decimal datatype or the related but separate concept of a generic decimal number....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.