Append query to skip blank fileds???

King_kamikaze

Registered User.
Local time
Today, 16:23
Joined
Jan 13, 2005
Messages
48
Hi,

Could anyone please tell me what is wrong with the following SQL?

Code:
INSERT INTO TableB_Rejected ( Rejected, Reason )
SELECT TableB.Rejected, TableB.Reason
FROM TableA
WHERE (((TableB.Rejected)<>""));

I am tring to take all the fields with data in from one table and put them in another, i do not want it to copy accross the blank fields.

Any help would be greatly apreciated.

Many thanks
Tim
 
Last edited:
Worked a treat thanks, i am fairly new with databases but i am picking up loads of stuff as i go, that another thing to add to the memory bank.

Many thanks.
Tim
 
Use the query wizard, select the fields you need to copy over, go into design view and set the query type as append, and select the table you want to add the data to. This works for me.
Chris
 

Users who are viewing this thread

Back
Top Bottom