Greetings-
I have created a join of multiple tables to create 'all possible combinations' in a query (which I then concatenated in a query function). I have gotten that far, where I need help though is in creating a macro to delete records from the query matching certain criteria. There is an IIF function denoting 'Remove' for those items to be deleted.
So it looks something like:
[TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD]AllPossible
[/TD]
[TD]Remove?
[/TD]
[/TR]
[TR]
[TD]WTL
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]WTL-ABC
[/TD]
[TD]Remove
[/TD]
[/TR]
[TR]
[TD]WTL-LP
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]WTL-ABC-Q
[/TD]
[TD]Remove
[/TD]
[/TR]
</TBODY>[/TABLE]
In this case, basically the rule is to delete any record containing both "WTL" and "-ABC".
Appreciate any insight (or basics I am overlooking here), as I am newer at this.
Thanks!
I have created a join of multiple tables to create 'all possible combinations' in a query (which I then concatenated in a query function). I have gotten that far, where I need help though is in creating a macro to delete records from the query matching certain criteria. There is an IIF function denoting 'Remove' for those items to be deleted.
So it looks something like:
[TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD]AllPossible
[/TD]
[TD]Remove?
[/TD]
[/TR]
[TR]
[TD]WTL
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]WTL-ABC
[/TD]
[TD]Remove
[/TD]
[/TR]
[TR]
[TD]WTL-LP
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]WTL-ABC-Q
[/TD]
[TD]Remove
[/TD]
[/TR]
</TBODY>[/TABLE]
In this case, basically the rule is to delete any record containing both "WTL" and "-ABC".
Appreciate any insight (or basics I am overlooking here), as I am newer at this.

Thanks!