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

At 10 MAR 2004 12:44:28AM Kauko Laurinolli wrote:

In Arev it was easy to create voc*start and in start program and tell:

if @username=JOE'

perform "MY_PROG"

perform "OFF"

and the report etc. was run and Arev exited.

I have used this to create weekly reports etc. automatically.

In OI I have set entry point which is my custom login window.

All users log in thru that window as username=USER.

The access and PW management is custom written.

How do I now by-pass this directly into some window, execute my weekly reports etc. and exit OI gracefully?


At 10 MAR 2004 03:14AM Donald Bakke wrote:

Kauko,

There are various ways this can be done but the most straightforward one that I can think of in your situation is to create a separate database user with the Database Manager that only you use. Then the CREATE event of your custom login window can check the value of @USERNAME just like you did with AREV.

[email protected]

SRP Computer Solutions, Inc.


At 10 MAR 2004 03:36AM Kauko Laurinolli wrote:

Thanks.

At the meantime I dreamed up a solution with different application name inherited from the original application.

Over there I can have different entry point where thar form executes whatever I need to.


At 10 MAR 2004 08:00AM Colin Rule wrote:

To shut down gracefully, use

CALL UTILITY("DESTROY","SYSTEM")

Recommend you put in a YIELD and even a second or two delay before this just to ensure all events are completed.

Colin


At 10 MAR 2004 05:32PM Kauko Laurinolli wrote:

Since all processing happens in Create event End_Window(@Window) seems to also work just fine when the process is run from the batch file.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/c99e84f948558d6085256e53001f89a5.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1