If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Change Text field (with numbers) DataType to Number
How do I change a field of text datatype to number, long int datatype, where
all the values in the text field are numbers (within the range of long int)? I have a field that I evidentally made a text field, which contains all integer numbers, representing the ID codes for people, in a detail table. The people table's id is Number/Long Integer. When I tried to change the type in my detail table, it told me that "300 records -were- deleted" and if I wanted to proceed anyway. I said no and did not save the table and kept the text field (and MS fooled me again, and I did not lose that data). I then tried a query to update the text field to a new, added, Temp field of type number, long integer, but on View it showed no data being updated. -- MichaelM |
#2
|
|||
|
|||
Message to meself.
Looks like it was the "nut behind the wheel" that caused the problem. I was trying to convert the wrong field. The field I tried was text as was all the data and none of the data were numbers. They were all department initials. When I grabbed the correct field, it worked fine. "Michael Miller" wrote: How do I change a field of text datatype to number, long int datatype, where all the values in the text field are numbers (within the range of long int)? I have a field that I evidentally made a text field, which contains all integer numbers, representing the ID codes for people, in a detail table. The people table's id is Number/Long Integer. When I tried to change the type in my detail table, it told me that "300 records -were- deleted" and if I wanted to proceed anyway. I said no and did not save the table and kept the text field (and MS fooled me again, and I did not lose that data). I then tried a query to update the text field to a new, added, Temp field of type number, long integer, but on View it showed no data being updated. -- MichaelM |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
text numbers as dates via OCR import | Dave Peterson | General Discussion | 1 | August 20th, 2004 01:57 PM |
add number to existing text numbers | Stacy | General Discussion | 2 | August 12th, 2004 04:59 PM |
Restart Autonumber | Traci | New Users | 22 | July 21st, 2004 01:10 AM |
field that displays text turns to numbers when exported or mail merged | kathy | New Users | 3 | May 28th, 2004 10:45 PM |
Enter Numbers as Text in Social Security Number Format | Frank Kabel | Worksheet Functions | 0 | March 18th, 2004 09:17 PM |