Step #18 - Create Three Select Queries From tblMainStocks Table
1. The following calculated field is provided, for you to copy/paste into the three Queries:
Code:
dtmRefreshDateTime: Format([dtmRefreshDate],"Medium Date") & ", " & [dtmRefreshTime]
2. Create the first Query by going to Query Design.
3. Show the tblMainStocks table.
4. Continue building the Select query per the following screenshot:
Attachment 664
5. Save the Query and name as: qryMainStocks
6. Next, create the second Query by going to Query Design.
7. Show the tblMainStocks table.
8. Continue building the Select query per the following screenshot:
Attachment 665
9. Save the Query and name as: qryNewImportedStocks
10. Next, create the third, and final Query by going to Query Design.
11. Show the tblMainStocks table.
12. Continue building the Select query per the following screenshot:
Attachment 666
13. Save the Query and name as: qryStocksXForDeletion
Next, we will complete the last, and final step to our Macro.
Continued...
-RC