Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Error accessing product object method

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#DoubleDifference or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/DoubleDifference


The error "Error accessing product object method" was encountered when running some lotusscript using a release 4 client.





The problem was that I had used the method TimeDifferencedouble instead of TimeDifference with a notesdatetime item.

 

Long is -2,147,483,648 to 2,147,483,647 seconds

which gives a range of 68 years!

 

The range of Double values is -1.7976931348623158E+308 to 1.7976931348623158E+308, inclusive.
On UNIX platforms, the range is -1.7976931348623156E+308 to 1.797693134862315E+308, inclusive.

The smallest non-zero Double value (disregarding sign) is 2.2250738585072014E-308.

 

Which gives a range of over 2300 years I think, well big enough for most things I reckon.

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
man and boy by Tony Parsons
British book of the year 2000. Great book, hard to put down, but I nearly threw it away half way through. You'll know why when you read it.
See at: Amazon.co.uk | Amazon.com |