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

Home » RADICORE » How To » list2 (LIST2)
Re: list2 [message #2556 is a reply to message #2555] Tue, 22 June 2010 10:01 Go to previous message
AJM is currently offline  AJM
Messages: 2355
Registered: April 2006
Location: Surrey, UK
Senior Member
There is no "relationship" between the LIST1 task and the LIST2 task other than a navigation button in the LIST1 which activates the LIST2. There is no particular method which is activated when a navigation button is pressed - the LIS1 stops and the LIST2 starts.

There is no single function that does what you want. There are a variety of options, as I have identified in a previous reply, and each of these options will require different code in different places.

In the LIST2 task you could use scriptPrevious() to exit back to the LIST1 after you have discovered that the parent record has a FALSE status. You culd also do what I suggested in [rl= http://www.tonymarston.net/php-mysql/infrastructure-faq.html #faq135]FAQ135[/url]. You could allow the LIST2 task to continue, but produce an error message to terminate the ADD2 task if it is activated when it shouldn't be.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: drop-down
Next Topic: delete record
Goto Forum:
  


Current Time: Sat Aug 03 05:11:51 EDT 2024

Total time taken to generate the page: 0.00974 seconds