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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

nz function problem-query to form



 
 
Thread Tools Display Modes
  #1  
Old January 21st, 2010, 02:20 PM posted to microsoft.public.access.forms
southbender
external usenet poster
 
Posts: 1
Default nz function problem-query to form

I am using the nz function in my queries. The function works at that level.
However, when I try to open the form it won't allow me to. If I take out the
nz function everything works fine.

Any suggestions
  #2  
Old January 21st, 2010, 02:53 PM posted to microsoft.public.access.forms
Allen Browne
external usenet poster
 
Posts: 11,706
Default nz function problem-query to form

Could be an issue with the data type. Try an IIf() expression instead.

More details and example:
http://allenbrowne.com/QueryPerfIssue.html#Nz

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"southbender" wrote in message
...
I am using the nz function in my queries. The function works at that
level.
However, when I try to open the form it won't allow me to. If I take out
the
nz function everything works fine.

Any suggestions


  #3  
Old January 21st, 2010, 03:01 PM posted to microsoft.public.access.forms
BruceM via AccessMonster.com
external usenet poster
 
Posts: 448
Default nz function problem-query to form

Details, please. In what way are you not allowed to open the form? Do you
get an error message, or what exactly? Is the form bound to the query? How
are you using Nz in the query?

southbender wrote:
I am using the nz function in my queries. The function works at that level.
However, when I try to open the form it won't allow me to. If I take out the
nz function everything works fine.

Any suggestions


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201001/1

 




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:38 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.