Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4297 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Im trying to create a report that shows all unpaid invoices. I was
trying to find all records that have a balance that is not equal to zero
and have tried few different approaches, but i am not getting the
desired result. Any help would be greatly appreciated.

Posted

 Enter Find Mode (do not pause)

Set Field - your field - "== 0"

Omit Record

Perform Find

 

hth,

Martie

Posted

You need to be careful with number field because empty does not equal 0. If any record is null, it will not be found. Three ways to protect: 1) use two requests looking for < 0 and then > 0, 2) use two requests searching for = and 0 and then omitting or 3) force a result in your total so it is never empty.

If never empty, search for single 0 and then Show Omitted. ==0 isn't needed on number field. :-)

Posted

It is a locked calculation field, so it will never be empty.  Could you show me how the script would read?  I guess Im just a little stuck at the syntax.  I am a long time access user, queries were my crutch. 

Posted

Very good!  If Commission Due is truly a number field, you do not need to wrap in quotes which wastes an evaluation.

 

Also again I caution that if that calculation can ever NOT produce a number or a 0 then it will not be included in what you omit (your find will fail to produce accurate results).  Does every field referenced in the calculation always have a value?  If they are all empty, your calculation will usually be empty as well unless you've modified the calculation to account for it.  Just something to watch for

Posted

Yes it is a number field.  The field calculates amount due minus any payments or discounts.  The field is locked and guarded against any data entry, so there can only be a zero or a number (amount due)

 

I will remove the quotes though.   Thanks so much for your help.  

This topic is 4297 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.