mcyrulik Posted October 29, 2008 Posted October 29, 2008 Hey guys, This is probably pretty simple, but I can't find it. I have a customer table with related contacts. I need to get the record ID of each contact record. I know that for the customers it is: $customerRecID = $customer->getRecordID(); but as I am going through the contact records using this: $contactList = $customerRecord->getRelatedSet('Contacts_CustID_Customers'); foreach ($contactList as $contact) { // create my table rows } I want to get the record ID for each $contact. Any help would be great ~Mark
Baloo Posted November 12, 2008 Posted November 12, 2008 getRelatedSet() returns an array of Filemaker_Record objects so it's the same thing: $contactList = $customerRecord->getRelatedSet('Contacts_CustID_Customers'); foreach ($contactList as $contact) { $contactRecID = $contact->getRecordID(); }
Recommended Posts
This topic is 6114 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now