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
Need to know how to set a cell to blank when the value is an integer like relace 0 and 0.00 with a blank
Outlook 2007 search
DPM 2007: Unable to extend the AD schema for end user recovery
Group policy- prevent to save on the desktop
How do I add an equal to or greater than sign to a text box
Object not found in the collection using IsObject
I have a file that ends with .vzd. What is it? Could it be vcd?
Combine tables for query
Rounding up or down by 20 cents in access
runtime problem -acc97