F
Fletcher
Hi, I have 3 queries that preform the same operation, but have
different criterium. I would like to combine these queries into one
query for exporting to a analysis program. Is there any way that this
could be done? I tried to write a query that took everything and put
it into one thing, but it did soemthing weird and produced 3672
entries. This isn't what I wnated to happen.
I don't know if you would need my SQL's or not, but i'll put them just
in case:
*FSI1ParticleCalculator*
SELECT TOP 30 Passes.DateTimeOut, Passes.FSINumber, Passes.Pre,
Passes.Post, [Post]-[Pre] AS Particles, Passes.PassID
FROM Passes
WHERE (((Passes.FSINumber)=1))
ORDER BY Passes.DateTimeOut DESC , Passes.PassID;
*FSI3ParticleCalculator*
SELECT TOP 30 Passes.DateTimeOut, Passes.FSINumber, Passes.Pre,
Passes.Post, [Post]-[Pre] AS Particles, Passes.PassID
FROM Passes
WHERE (((Passes.FSINumber)=3))
ORDER BY Passes.DateTimeOut DESC , PassID;
*FSI4ParticleCalculator*
SELECT TOP 30 Passes.DateTimeOut, Passes.FSINumber, Passes.Pre,
Passes.Post, [Post]-[Pre] AS Particles, Passes.PassID
FROM Passes
WHERE (((Passes.FSINumber)=4))
ORDER BY Passes.DateTimeOut DESC , PassID;
Thanks in advance,
Fletcher...
different criterium. I would like to combine these queries into one
query for exporting to a analysis program. Is there any way that this
could be done? I tried to write a query that took everything and put
it into one thing, but it did soemthing weird and produced 3672
entries. This isn't what I wnated to happen.
I don't know if you would need my SQL's or not, but i'll put them just
in case:
*FSI1ParticleCalculator*
SELECT TOP 30 Passes.DateTimeOut, Passes.FSINumber, Passes.Pre,
Passes.Post, [Post]-[Pre] AS Particles, Passes.PassID
FROM Passes
WHERE (((Passes.FSINumber)=1))
ORDER BY Passes.DateTimeOut DESC , Passes.PassID;
*FSI3ParticleCalculator*
SELECT TOP 30 Passes.DateTimeOut, Passes.FSINumber, Passes.Pre,
Passes.Post, [Post]-[Pre] AS Particles, Passes.PassID
FROM Passes
WHERE (((Passes.FSINumber)=3))
ORDER BY Passes.DateTimeOut DESC , PassID;
*FSI4ParticleCalculator*
SELECT TOP 30 Passes.DateTimeOut, Passes.FSINumber, Passes.Pre,
Passes.Post, [Post]-[Pre] AS Particles, Passes.PassID
FROM Passes
WHERE (((Passes.FSINumber)=4))
ORDER BY Passes.DateTimeOut DESC , PassID;
Thanks in advance,
Fletcher...