lwarren1968
Registered User.
- Local time
- Today, 07:23
- Joined
- Jan 18, 2013
- Messages
- 78
Attached is a payment file that I need help with please. Data is retrieved via a to/from date. In this case its from 09/03/2021 to 09/15/2021. I do this on a bi-weekly bases. What I need to do is eliminate the General Withdrawal record if one exists at the beginning of my date range along with all records prior to that General Withdraw record and then eliminate the General Withdrawal record if one exist at the end date range along with those records after that General Withdraw. There is a time stamp that I'm sure can play a part in omitting. I'm just not sure how to add to my query. Below is the SQL I am currently using.
Currently I am just deleting manually once exported to excel, but I'd like to automate if possible. Any help would be greatly appreciated!
SELECT PAYPAL_PYMNT_Query.Date, PAYPAL_PYMNT_Query.CUSTOMER1 AS CUSTOMER, PAYPAL_PYMNT_Query.[GROSS AMT], PAYPAL_PYMNT_Query.[FEE AMT], PAYPAL_PYMNT_Query.[NET AMT], PAYPAL_PYMNT_Query.EXPENSES
FROM PAYPAL_PYMNT_Query;
Currently I am just deleting manually once exported to excel, but I'd like to automate if possible. Any help would be greatly appreciated!
SELECT PAYPAL_PYMNT_Query.Date, PAYPAL_PYMNT_Query.CUSTOMER1 AS CUSTOMER, PAYPAL_PYMNT_Query.[GROSS AMT], PAYPAL_PYMNT_Query.[FEE AMT], PAYPAL_PYMNT_Query.[NET AMT], PAYPAL_PYMNT_Query.EXPENSES
FROM PAYPAL_PYMNT_Query;