merlynsdad
Programmer
I want to add fields from one table into another. I'm using a join as follows:
I'm getting zeroes in tblTempEvent even though the data is in tblTempCallDetail. Is my SQL wrong, or should I look for something else?
If the square peg won't fit in the round hole, sand off the corners.
Code:
strSQL = "UPDATE tblTempEvent " _
& "SELECT tblTempEvent.TalkTime,tblTempEvent.HoldTime,tblTempEvent.WrapTime " _
& "FROM tblTempEvent " _
& "INNER JOIN tblTempCallDetail " _
& "ON (tblTemp_Event.LOCATION = tblTempCallDetail.LOCATION);"
Debug.Print strSQL
db.Execute strSQL
If the square peg won't fit in the round hole, sand off the corners.