Automatically pull a second field to show in Related Records table

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 5, 2018   (RSS)

Hi All,

I've set up a related records field in my 'accounts' table which relate to a table called 'practice_locations'.

In addition to 'num' field value in accounts used in the 'MySQL Where' to match the records, I'd also like to pull the 'title' field value from my 'accounts' table and have it automatically populate a title field in the 'practice_locations' table.

Since the title may change over time, I'd like to continue using the 'num' field in accounts in the 'MySQL Where' for matching.

Any thoughts?

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By gkornbluth - December 5, 2018 - edited: December 5, 2018

Hi Daniel,

Just this morning I found an interesting plugin that Dave helped me to create a while back that automatically populates real fields in a target field from the createdBy data in the Accounts table. (sometimes I even remember to look through the recipes in my own CMSB Cookbook.)

http://www.thecmsbcookbook.com

The Cookbook the recipe is called:

AUTOMATICALLY POPULATING FIELDS IN A TARGET TABLE USING THE CREATEDBY FUNCTIONALITY IN CMSB

It seems to answer the question I had. Sorry I didn't remember to update this thread.

Appreciate you're looking at this though.

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php