Permanent change or just change for purposes of calculation. Assuming that
the field may contain non-numeric data, use
IIF(IsNumeric([SomeField]),Val([SomeField]),Null)
If the field is never null and always contains only numbers then you can use
one of the conversion functions
CDbl([SomeField])
If you want to change the datatype permanently, you can try opening the table
and changing the datatype. BACKUP your data first, in case this goes wrong.
John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
How can I (or can I) change an existing table field from text to numeric?
I need to use the text field for some calculations. It is a large file and
i'm using Access 2007.
Thanks,
Jennifer