Forum Discussion
BrianCameron
3 years agoQrew Cadet
Mark,
My difference in filtering the formula in a test report is 45 records more than the report with the filter sample provided. This result is a whole lot better than I was ever able to generate. I am going to do some data reconciliation and find the differences. Here's the code. If you see something, let me know.
If([RiverSmart Homes]
and
(IsNull([Audit Date]) or [Audit Date] < [Date re-audit requested])
and
not [Test account]
and
[Site Owner - Public User]
and
(not [RSR auto-enroll] or [RSR Auto-Enroll Application Date] < [Date re-audit requested])
and
([Remove from waitlist]=0 or not IsNull([Date re-audit requested]))
and
(not [RSH Import] or not IsNull([Date re-audit requested])),true,false)
and
(IsNull([Audit Date]) or [Audit Date] < [Date re-audit requested])
and
not [Test account]
and
[Site Owner - Public User]
and
(not [RSR auto-enroll] or [RSR Auto-Enroll Application Date] < [Date re-audit requested])
and
([Remove from waitlist]=0 or not IsNull([Date re-audit requested]))
and
(not [RSH Import] or not IsNull([Date re-audit requested])),true,false)
On a personal note, I have been an independent QB developer for about 17 years now. I can't tell you the number of times you have saved my bacon and provided guidance with your solutions to QB Community posts. Just want to say thank you.
Brian
MarkShnier__You
Qrew Legend
3 years agoGlad to hear I've been helpful over the years.
I can't see what wrong... when you reconcile we will see an example of a difference and go from there.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
- BrianCameron3 years agoQrew CadetMark,Here is a sample of reconciled records that formula is not filtering out.Appears that the formula is having a difficult time processing dates in these lines:If([RiverSmart Homes]
and
(IsNull([Audit Date]) or [Audit Date] < [Date re-audit requested])
and
not [Test account]
and
[Site Owner - Public User]
and
(not [RSR auto-enroll] or [RSR Auto-Enroll Application Date] < [Date re-audit requested])
and
([Remove from waitlist]=0 or not IsNull([Date re-audit requested]))
and
(not [RSH Import] or not IsNull([Date re-audit requested])),true,false)- BrianCameron3 years agoQrew CadetMark,All is good. Thanks for your help!Brian