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

Home » RADICORE » How To » list2 not respecting list1 key
Re: list2 not respecting list1 key [message #2232 is a reply to message #1855] Sun, 19 July 2009 06:23 Go to previous message
AJM is currently offline  AJM
Messages: 2352
Registered: April 2006
Location: Surrey, UK
Senior Member
The mechanics of passing context between objects - either in different tasks or the same task - is described in Passing context between objects.

If the same field has different names in different objects then pay attention to Different Names for the same field.

Note that although the $parent_relations array contains information regarding which fields are used in the relationship between two tables, or even where a table is related to itself, this is only used in the ON clause of a JOIN when that table object is asked to construct an sql SELECT statement prior to retrieving its own data. This information cannot be used to automatically translate field names in a WHERE string which is passed down from an external source as there is no information which identifies which of the many possible relationships is involved.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Update1 problem
Next Topic: Intranet Application
Goto Forum:
  


Current Time: Wed Jul 17 07:40:21 EDT 2024

Total time taken to generate the page: 0.00986 seconds