I have the following sql code that is creating an error
"insert into Syntax error"
strsql = "INSERT INTO tblorderentry(confirmationnum, date, customername, qty, productname, size, requestedshipdate," _
& " ordercalledinby,orderreceivedby,shippingcompany,shippingpayment,customerpo)" _
& " SELECT tblorderinfo.confirmationnum, tblorderinfo.orderdate, customers.customer_name, tblorder.qty, tblorder.product,tblorder.size," _
& " tblorderinfo.shipdate, tblorderinfo.calledinby, tblorderinfo.ordertakenby, customers.shipper, customers.freight,tblorderinfo.ponum" _
& " FROM (tblorder inner join customers on tblorder.customer = customers.customer_name)" _
& " inner join tblorderinfo on customers.customer_name = tblorderinfo.customer_name;"
Any help would be appreciated.
Chris
"insert into Syntax error"
strsql = "INSERT INTO tblorderentry(confirmationnum, date, customername, qty, productname, size, requestedshipdate," _
& " ordercalledinby,orderreceivedby,shippingcompany,shippingpayment,customerpo)" _
& " SELECT tblorderinfo.confirmationnum, tblorderinfo.orderdate, customers.customer_name, tblorder.qty, tblorder.product,tblorder.size," _
& " tblorderinfo.shipdate, tblorderinfo.calledinby, tblorderinfo.ordertakenby, customers.shipper, customers.freight,tblorderinfo.ponum" _
& " FROM (tblorder inner join customers on tblorder.customer = customers.customer_name)" _
& " inner join tblorderinfo on customers.customer_name = tblorderinfo.customer_name;"
Any help would be appreciated.
Chris