Is this possible with a HABTM? I have two types of tables and one notes table that can be used for multiple tables.
ie: quotes ( id customer_id due_date note_group_id created_date created_by ) items( id item_num desc price note_group_id ) notes ( id note_group_id note created_date created_by ) The join would be from note_group_id in either items or quotes to the note_group_id on the notes table. The note_group_id would be managed by the code to ensure that they were unique (either using guid's or checking for null values, finding the max value of the note_group_id in the notes table and incrementing it) I have a feeling that the HABTM uses the primary key of each of the tables as a join to a middle table, but was wondering if anyone had any experience with this scenario. thanks, David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---