Jump to content

ATK Relations: Difference between revisions

From NusaATK
No edit summary
No edit summary
Line 5: Line 5:
* [[atkManyToOneRelation]] - 'A project has a projectleader (that can lead multiple projects)'
* [[atkManyToOneRelation]] - 'A project has a projectleader (that can lead multiple projects)'
* [[atkManyToManyRelation]] - 'A shopper buys multiple products, a product can be bought by multiple shoppers'
* [[atkManyToManyRelation]] - 'A shopper buys multiple products, a product can be bought by multiple shoppers'
 
* [[atkManyBoolRelation]] - 'An article has several categories, selected from a list of categories'
==atkManyBoolRelation==
* [[atkManyToOneTreeRelation]] - 'A category has a parent category'
 
Document me!
 
==atkManyToOneTreeRelation==
 
The atkManyToOneTree relation will build a dropdown that looks like:
 
Record A
  Record B
  Record C
      Record D
      Record E
Record F
 
It could be used together with [[atkTreeNode]] with [[ATK_Attribute_Flags|AF_PARENT]].


==atkMatrixRelation==
==atkMatrixRelation==

Revision as of 10:15, 28 December 2006

A relation defines a relation between two tables. One or more records in the first table belong to one or more records in the second table. A one to many relation would be '1 library has N books'. Below is a list of the relations that are currently available in ATK.

atkMatrixRelation

The atkMatrixRelation is no longer maintained and probably does not work. Over the years that ATK has existed, there haven't been many uses for the atkMatrixRelation.

atkSecureRelation

Document me!

atkShuttleRelation

Document me!