I get the error every time I want to correct something - and then close the program down automatically and must be started all over again - but then that mistake again ..
I have a calculation field wherein I calculated price per ounce as #{price}/#{ounces}.
The problem is that Ounces is not a required field; it couldn't be, because only certain product types have Ounces. My library ended up with entries in which Ounces was not entered and thus had a value of 0.
The Memento software on my tablet silently ignored the attempt to divide by zero, but the software on my PC didn't, and gave me the reflection error. So long as I stayed on my tablet, I never knew about this error, but when I eventually tried to save an entry on my PC, I got this crash and mentally blamed Memento Desktop.
Well, it is a problem in my beta version of Memento Desktop, in that it should handle that better than to just crash. Vasya will be fixing that soon.
But the real problem was mine. I couldn't force the field to be entered, but I could have, should have, and now have changed it to if(#{ounces}>0,(#{unit price}/#{ounces}),0), so I no longer cause Memento Desktop to crash.
It was exactly the same thing I had .. Price on a port wine / contents of the bottle = price per. cl
I corrected my calculation according to your instructions - and now I no longer have the problem of memento database desktop ..
So now does it all as it should be ..
Again many thanks for the help. !!