Home » RADICORE development » Transaction Patterns » PopUp - Link1 table
Re: PopUp - Link1 table [message #5563 is a reply to message #5561] |
Wed, 25 May 2016 04:39 |
AJM
Messages: 2368 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Your code mentions two different popup forms - htm_training_plan_uebungskategorie(popup1) and htm_training_plan_uebungen_kategorie(popup2). If you look at FAQ79 you will see that the same popup form is mentioned twice. Your mistake is that it is calling one popup form, then checking that it has returned from another, which causes a loop.
The logic behind that code is as follows:
1) If, at the start of the POPUP2 form, there is no value for the primary key of the outer entity then it calls a popup to obtain it.
2) If, upon returning from that popup, no value has been chosen then it will return to the previous form with an error message.
3) If a value from the popup has been selected the current POPUP2 form will use it to read the outer entity so it can then retrieve related entries from the inner entity.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|
PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Mon, 23 May 2016 05:59
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Wed, 25 May 2016 04:39
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Wed, 25 May 2016 07:28
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Wed, 25 May 2016 10:12
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Thu, 26 May 2016 14:48
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Fri, 27 May 2016 05:41
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Sat, 28 May 2016 05:09
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Wed, 01 June 2016 05:18
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Sun, 15 March 2020 12:51
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Mon, 16 March 2020 13:02
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Wed, 18 March 2020 06:28
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Thu, 19 March 2020 05:23
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Sat, 21 March 2020 07:52
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Sun, 22 March 2020 05:19
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Mon, 23 March 2020 06:47
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
|
|
|
Re: PopUp - Link1 table
By: AJM on Sat, 15 August 2020 04:38
|
Goto Forum:
Current Time: Sun Nov 24 19:19:52 EST 2024
Total time taken to generate the page: 0.01564 seconds
|