How to change database type in LS?

Hello everybody,(excuse me for my english, i’m not an expert :o) )

i search to change the type of a database in LS, maybe using the C/C++ API, because this property is read only in R6.

I didn’t find anything in the forum.

Can you help me ?

Thanx.

Subject: How to change database type in LS ?

Hello Benoit,

what do You mean by “database type”:

  • the extension

  • ods version

  • is master template

regards axel

Subject: RE: How to change database type in LS ?

Hello Axel,

i mean the Type property :

database.type, Constant of type Integer.

In the first tab of database property.

Syntax

To get: type% = notesDatabase.Type

Legal values

DBTYPE_ADDR_BOOK (10) - Domino Directory or Personal Address Book

DBTYPE_IMAP_SVR_PROXY (6) - IMAP server proxy

DBTYPE_LIBRARY (12) - database library

DBTYPE_LIGHT_ADDR_BOOK (9) - Directory Catalog

DBTYPE_MAILBOX (3) - mailbox

DBTYPE_MAILFILE (2) - mail file

DBTYPE_MULTIDB_SRCH (8) - Domain Catalog

DBTYPE_NEWS_SVR_PROXY (5) - news server proxy

DBTYPE_PERS_JOURNAL (11) - Personal Journal

DBTYPE_PORTFOLIO (7) - portfolio

DBTYPE_STANDARD (13) - standard

DBTYPE_SUBSCRIPTIONS (4) - subscriptions

DBTYPE_WEB_APP (1) - Web application

Usage

The database must be open to use this property.

My adress book change to standard or multibase search , and i cannot modify it to adresse book.

So, il will try to change with LS …

Maybe have you an idea ?

Subject: RE: How to change database type in LS ?

Did you try to simply replace the design? Or, if that doesn’t help, replace the design from the blank design, compact and then replace with the correct template?

Subject: RE: How to change database type in LS ?

I’m stupid, i didn’t think at replace design.It seems to work (type is well Domino Directory), but if i change again, i can’t select this again, it changes to standard.

So, I will use replace design … :o)

thank you all for your responses.

Subject: RE: How to change database type in LS ?

I suspect that you may have a corrupted full text index on the database.

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/9d0233e4f67c3f7e85257298003dc39f?OpenDocument

Subject: RE: How to change database type in LS ?

It could have been that, but no.I tried to delete the FT, but the type change from MultiBase Search to standard, it was impossible to select Domino Directory …

And in LS, no idea ?