If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Sum in continuous sub_form

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-18-12, 04:07
undee69 undee69 is offline
Registered User
 
Join Date: May 2012
Posts: 18
Sum in continuous sub_form

I have a continuous sub_form. On that form there is a Debtor and Creditor Field.
I want to add all Debtor and all Creditor in a separate field. If I use sum function, it gives me #ERROR.
Reply With Quote
  #2 (permalink)  
Old 06-18-12, 06:23
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 10,508
where have you put the control
#ERROR normally indicates a typo, spelling mistake and or the Access runtime cannot find the named control / column
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 06-18-12, 17:01
Missinglinq Missinglinq is online now
Registered User
 
Join Date: Jun 2005
Location: Richmond, Virginia USA
Posts: 2,213
A common reason for this error, in this type of scenario, is using the Control name rather than the Field Name in the Function. If the names are identical, the Access Gnomes can usually deal with it, but you cannot run Aggregate Functions against Controls, they have to be run against Fields.

Linq ;0)>
__________________
Hope this helps!

The Devil's in the Details!!

All posts/responses based on Access 2003/2007
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On