Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Message Display with SUBMIT+stay
Message Display with SUBMIT+stay [message #2084] Thu, 21 May 2009 05:32 Go to next message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
I'm using add an ADD2 transaction which is called from a LIST2 transaction. I have implemented a message to confirm to the user what has happened after an insert causes an update to another record.

When I add a record and click the SUBMIT button I am returned to the LIST screen and my message displays correctly.

However, if I add a record and click SUBMIT+stay I get multiple messages displayed:

custom message
record inserted OK (sys message)
custom message
custom message

At first I thought I may have been inserting the message multiple times by mistake, but using the debugger confirms that I only add the message to the message array once.
Re: Message Display with SUBMIT+stay [message #2085 is a reply to message #2084] Thu, 21 May 2009 12:09 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2367
Registered: April 2006
Location: Surrey, UK
Senior Member
You are correct. Fix attached.
  • Attachment: std.add2.inc
    (Size: 7.92KB, Downloaded 1208 times)


Re: Message Display with SUBMIT+stay [message #2086 is a reply to message #2084] Thu, 21 May 2009 12:15 Go to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
Thank you. Initial test confirms that has indeed fixed it.
Previous Topic: CLEAR function in MULTI1 transaction pattern
Next Topic: Font in PDF output footer
Goto Forum:
  


Current Time: Mon Nov 18 22:09:21 EST 2024

Total time taken to generate the page: 0.00918 seconds