Re: Coodinating messages with Multiple forms in 4.5

From: Steve Cosner <stevec_at_zimmer.CSUFresno.EDU>
Date: 1996/02/10
Message-ID: <DMKI41.AMz_at_CSUFresno.EDU>#1/1


You could set your :system.message_Level := 5; this would prevent the 40400 message. After your Commit_Form, check for form_success and display your own message. Then set message_level back to zero after the commit. You may need to do this in both forms.  

Steve Cosner.

In article <DMGvJt.66q_at_statcan.ca> youngpa_at_statcan.ca (Paul Young) writes:
>
>I'm using Forms 4.5.3.3 and Windows 3.11.
>When I have mutiple forms(using OPEN_FORM(ACTIVATE,NO_SESSION))
>opened and make changes in 2 forms(say Form A and Form B)...when I
>commit in Form A, I override the message in an ON-ERROR trigger to
>display "Changes Saved". It works, but when I navigate to Form B, I
>get "FRM-40400:Transaction complete: 2 records applied and saved."
>even though the ON-ERROR trigger in this form has the same code as in
>Form A. It seems like it overrid the default message in Form A, but
>didn't in Form B. I know it commits changes in both Form A and B,
>but how do I get the same message to display? Any ideas?
Received on Sat Feb 10 1996 - 00:00:00 CET

Original text of this message