C
Clddleopard
Sorry for posting this more than once, but I had it in queries, and I think
it might be more appropriately in programming now...
I would like to write some sort of code to run the following query
multiple times, replacing the Where information inside the quotes ("Name")
with a
different name each time. The info in the quotes would be gained by just
going down the "Animal Name" column of the "Animal ID Information" table.
INSERT INTO [Enrichment Assignments] ( [Animal Name] )
SELECT [Animal ID information].[Animal Name]
FROM Query4, [Animal ID information]
WHERE ((([Animal ID information].[Animal Name])="Name"));
Could you help me with that? It seems like it ought to be doable. The names
are already in a convenient list, it seems like there ought to be a way to
tell the query to run until it gets to the end of the list.
If I do it the normal way without the "where" clause, I don't get the
results I want (it has to do with random number generation, grrr). Thanks for
any help!
it might be more appropriately in programming now...
I would like to write some sort of code to run the following query
multiple times, replacing the Where information inside the quotes ("Name")
with a
different name each time. The info in the quotes would be gained by just
going down the "Animal Name" column of the "Animal ID Information" table.
INSERT INTO [Enrichment Assignments] ( [Animal Name] )
SELECT [Animal ID information].[Animal Name]
FROM Query4, [Animal ID information]
WHERE ((([Animal ID information].[Animal Name])="Name"));
Could you help me with that? It seems like it ought to be doable. The names
are already in a convenient list, it seems like there ought to be a way to
tell the query to run until it gets to the end of the list.
If I do it the normal way without the "where" clause, I don't get the
results I want (it has to do with random number generation, grrr). Thanks for
any help!