A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

NZ #ERROR Working



 
 
Thread Tools Display Modes
  #1  
Old February 19th, 2005, 07:07 PM
DS
external usenet poster
 
Posts: n/a
Default NZ #ERROR Working

To everyone that helped. Thank you!
I got it to work, How though makes no sense. I moved the Calculated
Textbox off the Subform and onto the Main form and refernced back to a
control that doesn't exsist on the first Subform..

=IIf(IsNull(Forms!Orders.[Order Details]![Mod Price]),0,DSum("[Mod
Price]","Mods Detail Query","[Order ID] = " & [Order ID]))


Mod Price doesn't exsist on the Order Details form, so how this is
working I don't know! But it is.
Thank You
All
Again
DS
  #2  
Old February 19th, 2005, 07:17 PM
DebbieG
external usenet poster
 
Posts: n/a
Default

I'm glad it's working but if the calculated textbox is now on the Main form
this should work:

=nz(DSum("[Mod Price]","Mods Detail Query","[Order ID] = " & [Order ID]),0)

I'm surprised you're not getting an error trying to reference something that
doesn't exist.


"DS" wrote in message
...
| To everyone that helped. Thank you!
| I got it to work, How though makes no sense. I moved the Calculated
| Textbox off the Subform and onto the Main form and refernced back to a
| control that doesn't exsist on the first Subform..
|
| =IIf(IsNull(Forms!Orders.[Order Details]![Mod Price]),0,DSum("[Mod
| Price]","Mods Detail Query","[Order ID] = " & [Order ID]))
|
|
| Mod Price doesn't exsist on the Order Details form, so how this is
| working I don't know! But it is.
| Thank You
| All
| Again
| DS

  #3  
Old February 19th, 2005, 07:31 PM
DS
external usenet poster
 
Posts: n/a
Default

DebbieG wrote:

I'm glad it's working but if the calculated textbox is now on the Main form
this should work:

=nz(DSum("[Mod Price]","Mods Detail Query","[Order ID] = " & [Order ID]),0)

I'm surprised you're not getting an error trying to reference something that
doesn't exist.


"DS" wrote in message
...
| To everyone that helped. Thank you!
| I got it to work, How though makes no sense. I moved the Calculated
| Textbox off the Subform and onto the Main form and refernced back to a
| control that doesn't exsist on the first Subform..
|
| =IIf(IsNull(Forms!Orders.[Order Details]![Mod Price]),0,DSum("[Mod
| Price]","Mods Detail Query","[Order ID] = " & [Order ID]))
|
|
| Mod Price doesn't exsist on the Order Details form, so how this is
| working I don't know! But it is.
| Thank You
| All
| Again
| DS

Just tried your code..doesn't work. This weird that something that
makes no sense works, and something that does doesn't!
Thanks
DS
 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.