Pull info from one table to make many

G

Guest

I have four tables. Call them Table1 ... Table4 All of the tables only have
one field, Field1.
I want a query that runs through Table4 and:

Puts all of the records that contain a 1 as the 19th character into Table1
and all of the records that have 2 as the 19th character into Table2 unless
the record contains the word WARNING then it goes into Table3.
 
T

Tom Ellison

Dear Julia:

In part:

SELECT *
FROM YourTable
WHERE Mid(SomeColumn19, 1) IN (1, 2)
AND SomeColumn LIKE ("*WARNING*")

I do not know the name of your table or columns. You'll need to fix that
up.

Tom Ellison
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top