[TYPO3-dev] How to identify records with 2 key attributes

Malte Jansen mail at maltejansen.de
Tue Dec 11 10:57:51 CET 2007


Widmann, Manfred schrieb:
> Hi!
> 
> I created a  table "person" in MySQL. Key is first and last name. There is a 
> 2nd table "results" with a foreign key relationship to person - but how to 
> enter (in every case correct) data via the backend? The field type "Database 
> Relation" > "Selctorbox" allows only 1 foreign key attribute and there are 
> the guys named josef Smith and Jonathan Smith ...
> 
> Best
> Manfred 
> 
> 
Hi Manfred,

you have to use the UID for it, this one of the principle of the T3. You 
can create your Extension with the ext: Kickstarter. The rest is done 
automatically.

Cheers,

Malte





More information about the TYPO3-dev mailing list