1 2 3 4
| DoCmd.RunSQL ("INSERT INTO TblTransaction ( trtransid, trpartno, trorderno, trtransaction, trcosttotal, trdatapp, trdirection, trqte, trtranscode, trdatcrea )" & _
" SELECT TblImport.imtransid, TblImport.impartno, TblImport.imorderno, TblImport.imtransaction, TblImport.imcost, TblImport.imdatapp, TblImport.imdirection, TblImport.imqte, TblImport.imtranscode, TblImport.imdatcrea" & _
" FROM TblImport" & _
" GROUP BY TblImport.imtransid, TblImport.impartno, TblImport.imorderno, TblImport.imtransaction, TblImport.imcost, TblImport.imdatapp, TblImport.imdirection, TblImport.imqte, TblImport.imtranscode, TblImport.imdatcrea;") |
Partager