Using INSERT INTO and setting one field value - Access VBA
Posted
by glinch
on Stack Overflow
See other posts from Stack Overflow
or by glinch
Published on 2010-04-13T11:32:05Z
Indexed on
2010/04/13
11:33 UTC
Read the original article
Hit count: 383
ms-access
|ms-access-2007
Hi,
I'm using INSERT INTO to copy rows of data from one table to another:
INSERT INTO tblNewCustomers (CustomerID, [Last Name], [First Name])
SELECT CustomerID, [Last Name], [First Name]
FROM tblOldCustomers
How can I set one of the field values in tblNewCustomers for all of the new records that I am importing in withn this statement e.g
tblNewCustomers.existCustomer = TRUE
Thanks in advance for any help
Noel
© Stack Overflow or respective owner