[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Post/Replace Index Process (Arev32) ====
=== At 08 MAR 2011 12:36:30PM Dan Reese wrote: ===
{{tag>"Arev32"}}
How do I replicate the functionality of arev regarding calling a program in place of, or following and index update?
----
=== At 08 MAR 2011 06:54PM Dave Harmacek wrote: ===
In OI you have the TIMER event.
OI cannot run Arev32 programs, you have to rewrite them
in Basic+.
----
=== At 09 MAR 2011 12:09PM Dan Reese wrote: ===
Please excuse my lack of familiarity with making Arev32 work with OI. How would I set up a timer event to work if someone logs directly into an Arev32 application?
----
=== At 09 MAR 2011 12:11PM Dan Reese wrote: ===
The Replace Index Process works in Arev32; however I still cannot get the Post Index Process to work.
One problem with this though is that Arev32 seems to use AREVC.INI and cannot be redirected to another INI file. This prevents user-specific timing for these processes.
Does anyone know how to overcome this?
----
=== At 10 MAR 2011 08:04AM Dave Harmacek wrote: ===
In ARevDOS did you setup a dedicated indexing machine?
On that machine you would have had the post-indexing processes running.
In Arev32/OI you would setup a dedicated machine to process indexes.
I have a machine at a client that uses the Windows Scheduling to start every weekday morning at 04:00 a.m. The default application window fires the CREATE event where I detect it is running the indexer machine.
It starts a Arev32 Child Form to do the Arev processing for the morning, then when done it does a OFF command.
Meanwhile, I use the
call showOpenEngine( 1); call Set_Bgnd_IX_Time( seconds); call Set_IDXSvr(1)
to set the OI engine to become an index server.
There is also a timer event started to have the machine log off of OI after 11:30 p.m. that evening.
Dave
----
=== At 25 MAR 2011 07:34AM Dan Reese wrote: ===
Thanks for your help. You told me more about this than I knew.
I ran a number of experiments, but still did not have any success with running something from a post index hook in Arev32
I ended up calling Revelation for help and was told that background indexing in Arev32 was never implemented because Arev32 relies on the OI indexing routine. So, the post index process in Arev32 is never called. I ended up using the Replace process, which does work.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=FCE9D957E7005D158525784D0060B9E3|View this thread on the forum...]]