Hello .. I am processing a spreadsheet with records for a given month, which needs to be updated into two Microsoft Access tables. One table contains the data only for the current processing month, so I do a Delete and Append, and it works fine. The main table contains all historical records. I want to delete any records for the current processing month, if they exist. I can delete all records from the main table, where the yyyymm matches the records in the 1st table. So I have incorporated the below code.
The Block Until done sequence is
- Delete and Append into the current month's table, works fine
- Delete records for the current processing month from the main table if exists (this is needed for a potential re-run) - issue in deleting records
- Append records into the main table, works fine
Questions
- First of all .. is the above a decent approach or are there better / more elegant ways of doing this ?
- I created a query in Access to delete records from the main table, joining to the 1st table. This query works fine in Access, but how do I code this in Alteryx ? I don't think I can use output data tool. When I use the first two output options, I get the error - Microsoft Access Database Engine: An action query cannot be used as a row source. The last two options are changing my query into a table, and not deleting the rows.



Thanks for your help.