Hello World,
I seem to be confusing in my posts so I'm going to try this one in steps
I have a cancelled service that gives a -1 to an ISCANNED field for each EventDate after the date the services are cancelled.
Now I am permitted to Delete all of the cancelled records except the Min() date that =-1.
I built a query to find the value for the First Event date that =-1. I then built a delete query to delete all records after the First Event date that =-1 but it had to Join the "Find the value of the First query" to get the table records to show the records that were going to be deleted.
It cannot delete.
Is there a module or VB that can be used to make the delete query work without using the joined "Find the value of the First query"?
Something that will say "delete all the records after the first cancelled record"
Thanks
I seem to be confusing in my posts so I'm going to try this one in steps
I have a cancelled service that gives a -1 to an ISCANNED field for each EventDate after the date the services are cancelled.
Now I am permitted to Delete all of the cancelled records except the Min() date that =-1.
I built a query to find the value for the First Event date that =-1. I then built a delete query to delete all records after the First Event date that =-1 but it had to Join the "Find the value of the First query" to get the table records to show the records that were going to be deleted.
It cannot delete.
Is there a module or VB that can be used to make the delete query work without using the joined "Find the value of the First query"?
Something that will say "delete all the records after the first cancelled record"
Thanks