Author Topic: CopyToDatabase method problem  (Read 1925 times)

0 Members and 1 Guest are viewing this topic.

Offline MrSpecialist

  • Sr. Member
  • *
  • Posts: 342
  • Karma: +1/-0
  • I'm an expert!
    • View Profile
CopyToDatabase method problem
« on: November 27, 2008, 02:01:30 AM »
Hi,
i have a problem when using copyToDatabase method to copy a doc1 into the other db. Important fact is that doc1 has a doclink to another document(doc2). When the code is
Call doc1.CopyToDatabase( otherDb )
everything is fine and by clicking doclink in new doc1 in otherDb, doc2 (in first db) is opened correctly.

But with
Set doc3 = doc1.CopyToDatabase( otherDb )
the doclink doesnt work. It says "the linked document cannot be found in the view" error.
I need use this way coz i need to change the second doclink leading from doc2 to newly created doc in otherDb (to doc3)

I hope that u understand my problem and I would appriciate any step to find a solution.
Thanks a lot.

Techronnati | where technology never sleeps

CopyToDatabase method problem
« on: November 27, 2008, 02:01:30 AM »

Mountain View

Offline JusticeLeague

  • Sr. Member
  • *
  • Posts: 352
  • Karma: +1/-0
    • View Profile
Re: CopyToDatabase method problem
« Reply #1 on: October 28, 2016, 04:46:21 AM »
@mrspecialist. mag eerror ka.. kasi naggegenerate sya ng bagong uniquedocument id per document so pag ganun iba na ang value nya.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
190 Views
Last post February 05, 2009, 01:45:34 AM
by MrSpecialist
0 Replies
143 Views
Last post September 10, 2008, 07:35:29 AM
by MrSpecialist
0 Replies
160 Views
Last post September 12, 2008, 09:17:40 AM
by rpmolecule
1 Replies
201 Views
Last post October 15, 2008, 11:48:17 AM
by MrSpecialist
0 Replies
38 Views
Last post March 12, 2012, 09:01:23 AM
by domeinwinkelnl

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.