opendentalsupport.com is an independent community resource. We are NOT affiliated with, endorsed by, or sponsored by Open Dental Software, Inc. Open Dental® is a registered trademark of Open Dental Software, Inc.

Open Dental AR Aging Query

SQL Queries3 min read3/27/2026

If you need a clear, actionable list of active patients who currently have an outstanding balance, this query provides a clean breakdown of who owes money to your practice. It is designed for office managers who need to quickly identify accounts for follow-up without navigating through multiple standard reports.

The Query

Copy and paste the following code into your User Query window.

/* 999 Active Patients with Outstanding Balances */
SET @AsOfDate = '2026-03-27'; /* Enter the date you want to run this report for */

SELECT 
    p.LName, 
    p.FName, 
    p.HmPhone, 
    p.WirelessPhone, 
    p.Email, 
    p.EstBalance AS 'Balance'
FROM patient p
WHERE p.PatStatus = 0 
AND p.EstBalance > 0
ORDER BY p.EstBalance DESC;

How to Run This Query

  1. In Open Dental, go to Reports in the Main Menu.
  2. Click User Query.
  3. Paste the query above into the large text box.
  4. Click Submit Query.
  5. The results will display in the grid below.

Understanding the Results

How to Customize

You can easily modify this query to fit your specific needs:

Variations

If you want to focus only on patients with significant balances, you can add a minimum threshold to the query. Change the AND p.EstBalance > 0 line to:
AND p.EstBalance > 100
This will exclude any patients who owe less than $100, allowing your team to focus on larger outstanding accounts first.

Skip the Query — Use DentalCanvas Instead

Don't want to write SQL? DentalCanvas connects to your Open Dental database and shows you this data automatically in a visual dashboard — no queries required.


This article is provided by opendentalsupport.com, an independent community resource. We are not affiliated with Open Dental Software, Inc.

Stop Writing SQL.

DentalCanvas connects directly to your Open Dental database and shows you production, collections, scheduling, and more — in a visual dashboard you can understand at a glance. No queries. No exports. Just answers.

Try DentalCanvas

Was this article helpful?

Related Articles

opendentalsupport.com is an independent community resource. We are NOT affiliated with, endorsed by, or sponsored by Open Dental Software, Inc. Open Dental® is a registered trademark of Open Dental Software, Inc.