JMO9966
asked on
Microsoft Access query syntax help needed - need to Cast to join tables
Experts,
I have a PO_Detail table with an AutoNumber PK, data type Long Integer.
My select statement starts with Table B and I need to join table PO_Detail.
The problem is this my foreign key in table B is a Text data type instead of Long Integer.
Can someone assist and show me how to cast this Text field in column B to Long Integer and also then join the two tables on this field.
PO_Detail.AutoNumber=B.Col umnName
Thanks,
JMO9966
I have a PO_Detail table with an AutoNumber PK, data type Long Integer.
My select statement starts with Table B and I need to join table PO_Detail.
The problem is this my foreign key in table B is a Text data type instead of Long Integer.
Can someone assist and show me how to cast this Text field in column B to Long Integer and also then join the two tables on this field.
PO_Detail.AutoNumber=B.Col
Thanks,
JMO9966
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks TW,
I don't own the db TextReport so I'm not able to change DB properties.
JMO9966
I don't own the db TextReport so I'm not able to change DB properties.
JMO9966
Cheers, Andrew