G
Geoff Cox
Hello
I am trying to add data from one table to another in the same database
(Access 2003).
The table called main has these field names and values
email_address (e-mail address removed) (e-mail address removed) (e-mail address removed)
group 1 2 4
test1 2 3 4
test2 3 4 2
name
play
how_long_play
the table called main-extra has the data which I wish to move into
main
name (e-mail address removed) (e-mail address removed) (e-mail address removed)
play yes yes no
how_long_play 1-5 6-10
and I want to move the data for (e-mail address removed) in main-extra into the
record for (e-mail address removed) in main etc etc.
I have tried
INSERT INTO main ( email, name, play, how_long_play )
SELECT [main-extra].email, [main-extra].name, [main-extra].play,
[main-extra].how_long_play
FROM [main-extra]
WHERE (((main.email)=[mail-extra].email_address));
but this is wrong.
How do I do this?!
Cheers
Geoff
I am trying to add data from one table to another in the same database
(Access 2003).
The table called main has these field names and values
email_address (e-mail address removed) (e-mail address removed) (e-mail address removed)
group 1 2 4
test1 2 3 4
test2 3 4 2
name
play
how_long_play
the table called main-extra has the data which I wish to move into
main
name (e-mail address removed) (e-mail address removed) (e-mail address removed)
play yes yes no
how_long_play 1-5 6-10
and I want to move the data for (e-mail address removed) in main-extra into the
record for (e-mail address removed) in main etc etc.
I have tried
INSERT INTO main ( email, name, play, how_long_play )
SELECT [main-extra].email, [main-extra].name, [main-extra].play,
[main-extra].how_long_play
FROM [main-extra]
WHERE (((main.email)=[mail-extra].email_address));
but this is wrong.
How do I do this?!
Cheers
Geoff