From script, a way to differentiate a R5 bookmark file from a R6\R7 one?

Hi,

Is their a way to differentiate a R5 bookmark file from a R6\R7 one via script?

For example, for the personnal address book, there is a new view called ($Policies).

Is their any such design element in R6\R7 bookmark.

I have a script and I need an element that would help me identify a wrong bookmark and do a replace design if so.

Thank you,

JYR

Subject: From script, a way to differentiate a R5 bookmark file from a R6\R7 one?

Can you tell which ODS a database has from the script? I am not a developer, just saying what came to my head.

Subject: RE: From script, a way to differentiate a R5 bookmark file from a R6\R7 one?

You may not be a developer but that’s pretty clever!

notesDatabase.FileFormat returns a number which is the ODS.

Subject: RE: From script, a way to differentiate a R5 bookmark file from a R6\R7 one?

Thank you Sebastian and Doug,

here’s the answer,

JYR