I have a database that I need to read for my append query. One of the criteria I need to filter for is if the direct record has been ignored...this was easy...However, they can also be indirectly ignored. This is a hierarchical tree in which I may be looking at 3 or 4 tiers down. If a parent above that record has been ignored, I should filter that record out.....
Please see attached for a snippet of the datasheet view of the table.
The logic of the criteria appears to be:
"If I am ignored, then ignore. Otherwise, if my parent is ignored, then ignore. Otherwise if my parent's parent is ignored, then ignore...etc until the ParentRecNo = 0"
Could this be done with a Loop function in VBA?
Or with some sort of Macro?
Thanks,
Gary
Please see attached for a snippet of the datasheet view of the table.
The logic of the criteria appears to be:
"If I am ignored, then ignore. Otherwise, if my parent is ignored, then ignore. Otherwise if my parent's parent is ignored, then ignore...etc until the ParentRecNo = 0"
Could this be done with a Loop function in VBA?
Or with some sort of Macro?
Thanks,
Gary