How tu Run a program at the beginning!

The place for peer-to-peer support for VPM Enterprise 9.1, our latest framework.

How tu Run a program at the beginning!

Postby expresys » Tue May 23, 2017 12:11 pm

Hi can someone tell me how to run a program in background that opens a table before the menu appears !
This program check the table to send emails if the actual date match the records date.
I tried in the Initial Program of the Application but it does not have the tables opened yet !
Thanks Oscar
expresys
 
Posts: 155
Joined: Tue Jul 06, 2010 1:45 am

Re: How tu Run a program at the beginning!

Postby Bob » Tue May 23, 2017 2:02 pm

I'm not sure exactly what you need to do, but you could modify the proApp.RunMainMenu method to USE a table, make the check you mention, then close the table. Add a DODEFAULT() so the parent code runs correctly afterward.

This would run exactly before the menu system is added. You could add a return code if necessary to prevent the app from running.

Hope this helps ...
Bob
 
Posts: 718
Joined: Mon Jun 14, 2010 6:53 am
Location: Near Albany, NY

Re: How tu Run a program at the beginning!

Postby expresys » Tue May 23, 2017 11:48 pm

Thank You Very Much Bob it works Perfect !
It will help me to implement others solutions too!
Atte. Oscar Contreras
expresys
 
Posts: 155
Joined: Tue Jul 06, 2010 1:45 am


Return to VPM Enterprise 9.1

Who is online

Users browsing this forum: No registered users and 1 guest

cron