Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Error On New Record Field
David Campbell 
     
2 years ago
I re-wrote formulas to give a running sum on every account showing proper results.  However, now i have showing in new record field for running sum I have #error showing.  Tried placing in IIF function and using iserror function and still get same
David Campbell OP  @Reply  
     
2 years ago

Sami Shamma  @Reply  
             
2 years ago
Please show your formula
Ludwig Willems  @Reply  
      
2 years ago
volgen :)
John Davy  @Reply  
         
2 years ago
Hi David
You are most likely dealing with a null in the new record, so your calculation goes crazy. Try the NZ function.

John
David Campbell OP  @Reply  
     
2 years ago
=IIf(Nz(DSum("TAmount","CheckRegQ","TransactionID <= " & [TransactionID])),Nz(DSum("TAmount","CheckRegQ","TransactionID <= " & [TransactionID])),0)
Kevin Robertson  @Reply  
           
2 years ago
Try this:

=IIf(IsNull(TransactionID),0,Nz(DSum("TAmount","CheckRegQ","TransactionID <= " & [TransactionID]),0))
David Campbell OP  @Reply  
     
2 years ago
Thanks a lot- Awesome.  I tried everything else, but isnull  worked.  I did a lot of database work in early 90's but was out for along time.  Rusty think I'm overthinking things a little.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 10/1/2026 4:31:36 PM. PLT: 0s