I have an Access front-end with some tables in a SQL back end. I can open and view the SQL table without issues, and there is a field marked as key in the SQL table. I can run a query to select data from this table. However, when I run the following query, I get "Invalid Operation":
[tt]
INSERT INTO dbo_TempSOcapture ( fsono, finumber, fpartno, flshipdate, forderqty, fstatus, funetprice, fcudrev )
SELECT dbo_sorels.fsono, dbo_sorels.finumber, dbo_sorels.fpartno, dbo_sorels.flshipdate, dbo_sorels.forderqty, dbo_sorels.fstatus, dbo_sorels.funetprice, dbo_sorels.fcudrev
FROM dbo_sorels;
[/tt]
If I run the SELECT section of the query on its own, I get no error. dbo_TempSOcapture is the linked SQL table mentioned above, dbo_sorels is another linked SQL table from another database (I am using tables in 3 locations in this project - 2 SQL databases and local tables).
Can anyone see anything wrong with my query, or explain the error that I am getting?
Thanks,
Cheryl dc Kern
[tt]
INSERT INTO dbo_TempSOcapture ( fsono, finumber, fpartno, flshipdate, forderqty, fstatus, funetprice, fcudrev )
SELECT dbo_sorels.fsono, dbo_sorels.finumber, dbo_sorels.fpartno, dbo_sorels.flshipdate, dbo_sorels.forderqty, dbo_sorels.fstatus, dbo_sorels.funetprice, dbo_sorels.fcudrev
FROM dbo_sorels;
[/tt]
If I run the SELECT section of the query on its own, I get no error. dbo_TempSOcapture is the linked SQL table mentioned above, dbo_sorels is another linked SQL table from another database (I am using tables in 3 locations in this project - 2 SQL databases and local tables).
Can anyone see anything wrong with my query, or explain the error that I am getting?
Thanks,
Cheryl dc Kern