A Relationship (I think) [SOLVED]
Posted: Tue Mar 09, 2010 4:07 pm
Hi There,
I have a table called "Customers". Within that table are various fields. (In this instance, the 2 I'm concerned with are CompanyName and TotalSites) I'd like to auto-populate the TotalSites field with a number. That number should be taken from another table called "SiteData" and depend on how many times the CustomerName is mentioned.
I already have a renderCell function in the "Customers" table listing that means when I click on a CompanyName field, it just lists me the (in this instance) 5 Sites in "SiteData" that have that CompanyName. Now I'd just like another field in the "Customers" table to show me the number of sites in SiteData with that CompanyName.
Do I need a relationship.ini file to make this magic happen?
Thanks
Paul
I have a table called "Customers". Within that table are various fields. (In this instance, the 2 I'm concerned with are CompanyName and TotalSites) I'd like to auto-populate the TotalSites field with a number. That number should be taken from another table called "SiteData" and depend on how many times the CustomerName is mentioned.
I already have a renderCell function in the "Customers" table listing that means when I click on a CompanyName field, it just lists me the (in this instance) 5 Sites in "SiteData" that have that CompanyName. Now I'd just like another field in the "Customers" table to show me the number of sites in SiteData with that CompanyName.
Do I need a relationship.ini file to make this magic happen?
Thanks
Paul