Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > Nz Function in ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 30407 of 31576
Post > Topic >>

Nz Function in Control Source

by colin spalding <colin.mardell@[EMAIL PROTECTED] > May 30, 2008 at 03:12 AM

Access 2003

I subform which lists financial transactions for a client in the main
form, which i total in a textbox named "txtTotalPremium" in the
subform footer with the Control Source "=Sum([PremiumGBP])"; without
quotations of course.  This works fine until the subform has no
records to return in which case textbox is blank.  That would be fine
except I need to use the figure in another text box on the main form
as part of another calculation.  I have tried hundred different
combination of the Nz and IIf functions all to no avail.  it seems to
me that the straight forward "=Nz(Sum([PremiumGBP]),0)" should do it,
but unfortunately not; whatever I do I get a blank textbox and
"#Error" and/or #Name?" in the mainform textbox,  Where do I go from
here?
 




 7 Posts in Topic:
Nz Function in Control Source
colin spalding <colin.  2008-05-30 03:12:36 
Re: Nz Function in Control Source
"Phil Stanton"   2008-05-30 11:51:10 
Re: Nz Function in Control Source
colin spalding <colin.  2008-05-30 07:19:39 
Re: Nz Function in Control Source
"paii, Ron" <  2008-05-30 09:50:25 
Re: Nz Function in Control Source
colin spalding <colin.  2008-05-30 10:31:34 
Re: Nz Function in Control Source
"paii, Ron" <  2008-05-30 13:03:31 
Re: Nz Function in Control Source
colin spalding <colin.  2008-05-30 23:06:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:10:13 CST 2008.