Returning to notes after 6 years. Most of my knowledge has evaporated.
Stumbling around the new interface (it was V5 back then) and I am struggling on getting a view to select all documents where a (date) field in the document is in 2012. I thought it was going to be easy.
But you did give me the confidence to assume it should work and look for problems elsewhere.
I’ve inherited the database and discovered that the form that I used in the formula looks exactly like the one displayed when using the application - it actually isn’t the one used. Once I worked that out things went smoothly! Was only 4 or 5 hours wasted.
What I always do when I inherit a database someone else developed and I need to make a cahnge or add a view, is to look at the properties of the document to see what form was used. Sometimes the form has an alias, and then the alias is stored in the Form field…
Even when it is my own database, I use the document properties to try to figure out why the views don’t display what I expect. I write down the formula, then look at the document and verify every field (value and data type) used in the formula.
I found that this is the best way to find out what I did wrong in the view formula.