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
lookout settings keep resetting to default / outlook 2003
The error is a 1396: Logon Failure - the target account name is incorrect.
Moving shared printers from one server to a new one
Fonts not appearing in MSPaint
Best recomended anti virus for Windows 2003 server operating sytem
windows 7 ultimate drivers
How to change background html element when focus and lost focus?
SQL 5 Express Install Errors PLEASE HELP!
ActiveX and VB.Net 2005
Copying multiple user selected records to a recordset