Microsoft
Software
Hardware
Network
Question : Microsoft Access Module - Append table to another
I have used this in a module
With DoCmd
.RunSQL "INSERT INTO Table2 SELECT * FROM Table1"
End With
and it takes everything from table 1 and puts it in table2.
How do I go about this if the fields are named differently
Table1 field is called Status and i want to put this field in Table2 called daytimeStatus
I am not sure on how to put the names.
Answer : Microsoft Access Module - Append table to another
Hello Pdeters,
Something like this:
With DoCmd
.RunSQL "INSERT INTO Table2 (Field1, Field2, Field3) SELECT FieldA, FieldB, FieldC FROM Table1"
End With
Regards,
Patrick
Random Solutions
aspnet_regiis.exe failed to initialize properly
Excel & mouse peoblems
how to use 2 webservers behind firewall
Windows 7 firewall disables
Diskpart : Assign drive leter
Your offline folder file cannot be configured
Disable Ctrl-A or Ctrl key
Is there a way to include a template with a Word document?
Canoscan D646u ex on Windows Vista or Seven
Only select results with multiple columns that are > 0