The Append query only works if the fields being copied already exist in the
destination table. Here's an example:
INSERT INTO tmp_data ( CoPayFundGrant, M_DSS_SSA_Benefits,
O_DSS_SSA_Benefits, Ref_MPS, Ref_LA, Ref_DCMH, Place_Comm, Rem_Comm,
Core_Case_Man, Ref_DCMH_Case_Man, Program, HistoryDrugUse )
SELECT tblData.CoPayFundGrant AS Expr1, tblData.M_DSS_SSA_Benefits AS Expr2,
tblData.O_DSS_SSA_Benefits AS Expr3, tblData.Ref_MPS AS Expr4,
tblData.Ref_LA AS Expr5, tblData.Ref_DCMH AS Expr6, tblData.Place_Comm AS
Expr7, tblData.Rem_Comm AS Expr8, tblData.Core_Case_Man AS Expr9,
tblData.Ref_DCMH_Case_Man AS Expr10, tblData.Program AS Expr11,
tblData.HistoryDrugUse AS Expr12
FROM tblData;
The above when run, gives the error "The INSERT INTO statement contains the
following unknown field 'CoPayFundGrant'......". If I manually create the
field "CoPayFundGrant", when run again, the above says the same for the
"M_DSS_SSA_Benefits" field.