Hi Guy's, i am trying to run an Append statement, this is teh easy part
Some Field names don't match in the destination table, is there an easy method to change my code here ?
I can of course use rs update or list go through all field names in the destination table, just would be rather la lenghy stsment in stead of kept short and sweet
the error i am getting is can't find field name hence the above information
Code:
sSQL4 = "INSERT INTO tblHold ( Status ) " _
& "SELECT tblShipmentIn.*, tblShipmentIn.Status " _
& "From tblShipmentIn " _
& "WHERE (((tblShipmentIn.Status)= '" & sHold & "'));"
DoCmd.SetWarnings False
DoCmd.RunSQL sSQL4
DoCmd.SetWarnings True