M
Michael
I am trying to insert records into an Access table (already existing). There
are three fields in the table, one I want to update with "01", the next two
I want to populate from another table. The code is as follows. I have
carefully checked column names, types and lengths and all match. I am
getting a message saying that the "Number of query values and destination
fields are not the same".
Is this something I am doing wrong or a limitation in Access?
INSERT INTO tblBookReference
(BookNumber, BookReference, DesignNumber)
VALUES ('01',
(SELECT [Beaker Master].DougNumber, [Beaker Number].DesignNumber
FROM [Beaker Master]
WHERE (([Beaker Master].DougNumber Is Not Null) Or ([Beaker
Master].DougNumber >""))
));
Help appreciated, thanks, Michael.
are three fields in the table, one I want to update with "01", the next two
I want to populate from another table. The code is as follows. I have
carefully checked column names, types and lengths and all match. I am
getting a message saying that the "Number of query values and destination
fields are not the same".
Is this something I am doing wrong or a limitation in Access?
INSERT INTO tblBookReference
(BookNumber, BookReference, DesignNumber)
VALUES ('01',
(SELECT [Beaker Master].DougNumber, [Beaker Number].DesignNumber
FROM [Beaker Master]
WHERE (([Beaker Master].DougNumber Is Not Null) Or ([Beaker
Master].DougNumber >""))
));
Help appreciated, thanks, Michael.