I was doing some simple LotusScript developing with my shiny band-new 8.5.1 Lotus Designer:
exporting data from a Notes view to an Excel document, using COM objects (sorry, no Symphony exporting yet...).
All was fine on my pc, until I made a test on a different client Notes running version 8:
that client did not exported any data because of just one error in a script line... But what was the error?!
Turns out that I used a NotesViewColumn property that was not evailable on R8: Columnvaluesindex
Taking a look into R8.5 release Designer help I could not find any info about it...
No info googling the web...
So it turns out that I used a property that is not yet documented but is available through the Designer editor Content Assist ;-) , i.e. what you see when you push the dot key after the object name ( e.g. NotesViewColumn.) and you get all properties and methods of that object.
As far as I know, NotesViewColumn.Columnvaluesindex property is similar to NotesViewColumn.position property: "position" returns an integer number starting from 1 , whilst "Columnvaluesindex" return a long number starting from 0.
I fixed my code simply using the "position" property and subtracting 1 to its return value ;-)