theflyingminst
02-22-2009, 12:43 PM
Hi, I am trying to order a char column in my database as integers and I keep getting this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'to_num' in expression
I've so far tried these three options and they all call it.
1. ORDER BY CAST(thecolumn AS int)
2. ORDER BY to_num(thecolumn)
3. ORDER BY Convert(int, thecolumn)
Is this even really possible to do or do I have to convert the column to a numeric field?
Any help is much appreciated.
Thank you
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'to_num' in expression
I've so far tried these three options and they all call it.
1. ORDER BY CAST(thecolumn AS int)
2. ORDER BY to_num(thecolumn)
3. ORDER BY Convert(int, thecolumn)
Is this even really possible to do or do I have to convert the column to a numeric field?
Any help is much appreciated.
Thank you