Supressing Omnis internal Error / OK messages
Chris Webb
Chris.Webb at catalina-software.co.uk
Thu Jun 11 08:40:06 EDT 2015
Hi Mike/Bruno,
Yes error handling is being used to pick up on coded errors.
The content is essentially what we would report on except it seems like it is being report from the highest level of the processing (E.g. errors passed back up through the various methods) when Omnis then reports the problem.
The reason this is odd is that all coded OK messages have custom titles within the application and the errors I am trying to pin point have a title of 'Omnis Studio'.
To add to this we set within code whether something is running as unattended and perform this check on all processes to prevent coded OK messages being generated.
Regards
Chris
----------------------------------------
Chris,
What you describe is odd and should not happen... A couple of questions :
- Have you set up an error handler within your application ?
Normally any error trapped by an error handler doesn't show dialog boxes unless you code it.
- if your Omnis app is unattended, why don't you run it as a service, whow will, as a side effect, get rid of any ok messages ?
Regards
Bruno
By Design
http://www.bydesign.fr
Bruno Del Sol
bruno.delsol at bydesign.fr
tel (33) 01 48 78 47 37
46, rue de La Tour d'Auvergne
75009 Paris (France)
-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of Michael Mantkowski
Sent: 11 June 2015 13:25
To: 'OmnisDev List - English'
Subject: RE: Supressing Omnis internal Error / OK messages
Hi Chris,
I am not sure I have ever seen a "un-coded" message like you describe? What is an example of what is in the message? Too bad you cannot post a picture here...
I assume you are using error handlers to pick up on the coded errors?
Mike
*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************
-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of Chris Webb
Sent: Thursday, June 11, 2015 8:19 AM
To: omnisdev-en at lists.omnis-dev.com
Subject: Supressing Omnis internal Error / OK messages
Hi All,
Omnis version 4.3 - Windows.
As part of an implementation, we have created the ability to run 'scheduled tasks' to auto run certain library methods for processing.
Every so often, if a failure occurs (E.g. a list or row has lost its database session) the 'process' reports an OK message error with details of where the problem is.
These messages are not coded and appear to be generated by Omnis (having a title of 'Omnis Studio'). As these processes are left completely unattended, these OK messages halt any further processing of information until actioned.
Is there any way of suppressing these seemingly internally generated messages?
Thanks in advance
Regards
Chris
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list