bob fitz
AWF VIP
- Local time
- Today, 02:40
- Joined
- May 23, 2011
- Messages
- 4,806
Hi Bob. The problem I found with your db is you have a circular reference because the name of your Textbox where you have the Nz() function is the same as the name of the field you're trying to calculate. Try renaming the Textbox into txtNum and keep the expression as Nz([Num],0). Hope that helps...
Well, that's interesting. I didn't have any problems running the query, but got a #Size! error on the form.I don't think that I have a problem with Nz() in the form.
I get the error when I try to run the query.
Hi Colin. Just curious, what does it say to use as a default list separator in your Reqional Settings?Query works for me as well but there is definitely something wrong with the form
You have the expression = Nz([Num];0) with a semicolon
I renamed the control txtNum to get rid of the circular reference and tried to alter the expression to =Nz([Num],0) but I now get an invalid syntax error
Creating a new form didn't help either!
Very odd!
Query works for me as well but there is definitely something wrong with the form
You have the expression = Nz([Num];0) with a semicolon
I renamed the control txtNum to get rid of the circular reference and tried to alter the expression to =Nz([Num],0) but I now get an invalid syntax error
Creating a new form didn't help either!
Reverting to = Nz([Num];0) gave a value 0
Very odd!
Hi Colin. Just curious, what does it say to use as a default list separator in your Reqional Settings?
References are fine but still can't use Nz() in any query, in any db :banghead:Hi. Did you check if you have any missing reference?
That seems like a different problem than what I saw in your db example. The form displayed an error for me - because of the circular reference. Also, the query runs no problem. That db only has the 4 basic references. If you're certain about the references, maybe you've uncovered a new update bug?References are fine but still can't use Nz() in any query, in any db :banghead:
Sorry for my ignorance but I don't understand this question. The message I posted is the message that I get when I try to open any query that uses the Nz() function.Why did you post a Firefox message when the problem should have been an Access message box?