Hello,
I can create a new database with NSFDbCreate() but when I try to access the database from notes client it says the database is not initialized and to go to File/Replicate or something like that. What else do I need to do just to create a basic blank database with no design elements?
Thank you
Subject: Did you create any design elements?
Once you have a dB, you need to put some design element into it if you plan to use it via a Notes client.
To do this simply open the template file you want to use to get its hDB and then use the NSFDbCopyExtended() call to copy NOTE_CLASS_ALLNONDATA with some useful options like DBCOPY_REPLICA | DBCOPY_SUBCLASS_TEMPLATE
Or look at the NSFDbCreateAndCopy() API call.
Bruce
IBM