LeeHopkins
asked on
using cast or convert in assces 2005 query to convert a text field to integer
I have a linked table to an as400 db the field on the as400 is a text field i have a query that needs to compair the value from the as400 to an INteger(number) how so i use a cast or convert function in my asscess 2005 query
select as400.PONum from as400
in sql i would just select cast(as400.ponum as int) as ponum but it does not work in acess 2005
select as400.PONum from as400
in sql i would just select cast(as400.ponum as int) as ponum but it does not work in acess 2005
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
select Val(PONum) as numPOnum from as400;
Nic;o)