I'm slowly converting views from an SQL DB to Jet (Access) and I'm having
some problems with the syntax. Can anyone tell me what the problem is with
the syntax of the following SQL statements for Access?
SELECT customer.custom er_id, address.address 1, address.address 2,
address.city, address.state, address.postal_ code, address.country ,
address.record_ status,
customer.record _status AS Expr1,
customer.compan y_id, customer.custom er_number, customer.name,
customer.compan y_name, address.address 3,
address.address 4
FROM (address INNER JOIN
customer ON address.address _id =
customer.custom er_id AND address.record_ type = 'Customer Shipping')
WHERE (customer.custo mer_id 0)
or
SELECT customer.custom er_id, address.address 1, address.address 2,
address.city, address.state, address.postal_ code, address.country ,
address.record_ status,
customer.record _status AS Expr1,
customer.compan y_id
FROM (address INNER JOIN
customer ON address.address _id =
customer.custom er_id AND address.record_ type = 'Customer Mailing')
WHERE (customer.custo mer_id 0)
Both state the JOIN expression is not supported
Any help would be greatly appreciated.
Thanks,
Tony K
some problems with the syntax. Can anyone tell me what the problem is with
the syntax of the following SQL statements for Access?
SELECT customer.custom er_id, address.address 1, address.address 2,
address.city, address.state, address.postal_ code, address.country ,
address.record_ status,
customer.record _status AS Expr1,
customer.compan y_id, customer.custom er_number, customer.name,
customer.compan y_name, address.address 3,
address.address 4
FROM (address INNER JOIN
customer ON address.address _id =
customer.custom er_id AND address.record_ type = 'Customer Shipping')
WHERE (customer.custo mer_id 0)
or
SELECT customer.custom er_id, address.address 1, address.address 2,
address.city, address.state, address.postal_ code, address.country ,
address.record_ status,
customer.record _status AS Expr1,
customer.compan y_id
FROM (address INNER JOIN
customer ON address.address _id =
customer.custom er_id AND address.record_ type = 'Customer Mailing')
WHERE (customer.custo mer_id 0)
Both state the JOIN expression is not supported
Any help would be greatly appreciated.
Thanks,
Tony K
Comment