ATK Relations: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
* [[atkOneToManyRelation]] - 'A department has many employees' | * [[atkOneToManyRelation]] - 'A department has many employees' | ||
* [[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' | |||
==atkManyBoolRelation== | ==atkManyBoolRelation== | ||
Revision as of 10:10, 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.
- atkOneToOneRelation - 'A person has one address'
- atkOneToManyRelation - 'A department has many employees'
- 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'
atkManyBoolRelation
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 AF_PARENT.
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!