Code:
StrSql = "INSERT INTO ForfTest ( CASE_SEQ_ID, PROCESSED_DATE, TRNMSTR_SEQ_ID, AMOUNT ) " & _
"SELECT PUBLIC_PPAK_ACCT_ACTIVITIES.CASE_SEQ_ID, PUBLIC_PPAK_ACCT_ACTIVITIES.PROCESSED_DATE, PUBLIC_PPAK_ACCT_ACTIVITIES.TRNMSTR_SEQ_ID, PUBLIC_PPAK_ACCT_ACTIVITIES.DOLLAR_AMT AS Amount " & _
"FROM PUBLIC_PPAK_ACCT_ACTIVITIES " & _
"WHERE PUBLIC_PPAK_ACCT_ACTIVITIES.PROCESSED_DATE Between " & _
Format([Enter Start Date:], "\#mm\/dd\/yyyy\#") And Format([Enter End Date:], "\#mm\/dd\/yyyy\#") & _
"And PUBLIC_PPAK_ACCT_ACTIVITIES.TRNMSTR_SEQ_ID = 83 Or PUBLIC_PPAK_ACCT_ACTIVITIES.TRNMSTR_SEQ_ID = 36 " & _
"ORDER BY PUBLIC_PPAK_ACCT_ACTIVITIES.PROCESSED_DATE;"
Thanks,
PROXI