hi alli want to copy document from one database to another. i am using copytodatabase method on webquerysave event. i am using replica id of second database(to which database i have to copy the document) in the profile document of first database. but i am not seeing document which is in first database , that is in second database. what may be the problem?
or what is right way to copy document from one to another database by using copytodatabase method by ur experience?pls tell me.
thanks kiranwhat u told me to do is too ok. but fact is
1.second database is there only. i am developing both the database.
2.doc is not having authors & readers field. i am having manager access to both databases.
3.who can read the document is having my name in both the database’s forms
4.view selection formula i writen the form name which is common to both the database & another form(profile document) where replica id of first database is stored. So in this case at least i should see the document which is created in first database, same in the second database.
is i am right to write the view selection formula?
next is i am setting second database as
set seconddb=new notesdatabase(servername,replicaid)
but i am geting error on console is, database is not been opened yet