Hi Peter, Not sure if this will help, but my initial impression is that that *real* relationship is:
treatment <--> formula_components IE: the group of formula_components make up a 'formula', which may not really need it's own representation in the database, but can be modeled in the application itself? Simply put, it seems that there is a one-to-many relationship between treatment and formula_components, so the formula component may not need to be represented in the database. With this structure, you could clone a treatment, which would then simply clone the mapping between treatments and formula_components. (?) Paul --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
