Author Topic: One Object to many Indexes  (Read 322 times)

RalfScania

  • Newbie
  • *
  • Posts: 1
    • View Profile
One Object to many Indexes
« on: August 08, 2022, 12:05:24 AM »
Hi, sorry, don't really know where to put this question and how to search for it.

My situation is the following, I have one pdf, which belongs to many order numbers.
At the moment, I use odwek to store the document and have one single index to this pdf.
I could use a routine, which stores this document multiple times for each order no,
but I would have to point every order no to the same document.

Any ideas how to solve this?

spond

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: One Object to many Indexes
« Reply #1 on: August 08, 2022, 07:57:04 AM »
I think you could accomplish what you are trying to do with the ODFolder.duplicateHit method. Once you store a document, you could call duplicateHit as many times are you needed rows to point to that same document.