Solved Need help getting append query working with a expression (1 Viewer)

gojets1721

Registered User.
Local time
Yesterday, 16:31
Joined
Jun 11, 2019
Messages
429
I've got an append query that I'm trying to use to combine two telephone number fields into just one field. The code is below. For the life of me, I can't figure out why its not appending my table. It works fine as a select query. Both numbers are populated in the new expression field. But it won't append into the table. Any ideas? The new expression field is titled 'bothphones'

Code:
INSERT INTO RawList ( homephone, mobilephone, bothphones )
SELECT RawListTemp.[homephone], RawListTemp.[mobilephone], [homephone] & " " & [mobilephone] AS bothphones
FROM RawListTemp;
 

June7

AWF VIP
Local time
Yesterday, 15:31
Joined
Mar 9, 2014
Messages
5,463
Why duplicate phone data? Don't save the calculated bothphones value, calculate this when needed in query/form/report.

If bothphones is a calculated field in table, cannot update it, it is a calculation.
 

gojets1721

Registered User.
Local time
Yesterday, 16:31
Joined
Jun 11, 2019
Messages
429
Why duplicate phone data? Don't save the calculated bothphones value, calculate this when needed in query/form/report.

If bothphones is a calculated field in table, cannot update it, it is a calculation.
I am very stupid. This is much easier lol. Thank you
 

Users who are viewing this thread

Top Bottom