OK Let's try again:
SELECT * INTO NewTableName IN "C:\FullPathTo.mdb"
FROM [C:\FullPathOfOriginal.mdb].TableOrQueryName;
"
I'm not sure what ARTIKEL=OMZET is, but I am pretty sure that you cannot
use
an = sign except in a where clause.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
Arvin,
As I am not so experienced please help me on this ,I did the following:
SELECT [VERKOPEN PER ARTIKEL=OMZET].* INTO WINST IN
"F:\Voorraad\CATALOGUS.mdb"
FROM [F:\Voorraad\PRIJSCONTROLE.mdb].qryVERKOPEN PER ARTIKEL=OMZET;
The Query is "VERKOPEN PER ARTIKEL=OMZET" (which resides in
Prijscontrole)
,this is input for the table"WINST" which must be found in
Catalogus.mdb
after the update ,but on saving the query as above I get
"Syntax error in FROM clause"
What Am I doing wrong ?
Bye the way the make table query(which I want to run from
Catalogus.mdb)
in
prijscontrole.mdb is as follows:
SELECT [VERKOPEN PER ARTIKEL=OMZET].* INTO WINST
FROM [VERKOPEN PER ARTIKEL=OMZET];
hope you can help me!
:
Even easier, because I already have one of those. This one also uses a
Where
clause to build a table with a single record:
SELECT qryCode.CodeID, * INTO NGTest IN "C:\Data\Projects\Code.mdb"
FROM [C:\Data\Data.mdb].qryCode
WHERE (((qryCode.CodeID)=875));
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
Dear Arvin
Thanks a lot for the quick reply,
however I forgot to mention that in this case the query is a
"Make-table
Query"
Is that still possible?
Arvin Meyer [MVP]" wrote:
Sure, from query A :
SELECT qryX. *
FROM [F:\Foldername\dbB.mdb].qryX;
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
Dear All,
I Need to run a query "X" from db"A" but it must be done from
db"B"!
Is this possible?
Thanks in advance!