Forum Discussion
ChuckGrigsby
8 years agoQrew Cadet
Whats the criteria for the one related invoice you want to link? most recent? something else? You could create a summary field that chooses the maximum record ID for the child table. This should give you the most recent. However you can add additional criteria like if a field is set to a certain value, then it will be the most recent record that matches that criteria. Then on the summary field, choose to link to the related record. Place that summary field somewhere on your form on the parent table. Make sense?
- RyanRyan28 years agoQrew Assistant CaptainI'm looking to link to the Arrival Date field which is a date field, not a text field. Does that change the process?
- ChuckGrigsby8 years agoQrew CadetWithout creating another relationship to pull the child record values back up to the parent all you can really do is create a link to the record. Not pull the value. Without custom script that is which would be simple and happy to show ya over screenshare if you like. But you could still set a criteria on the date field.
chuck@chuck.support - RyanRyan28 years agoQrew Assistant Captainwhats the safest way without errors? what you prefer is what i'll do
- ChuckGrigsby8 years agoQrew CadetSafest maybe just creating a report with your criteria and showing that on your form on the master table. If you only want one field from child then only use that field in the report. Filter it down until you only return one row.
If you really just want to populate a field or display a single value and are ok with some custom code contact me and I can show you how it would work with a demo. Thanks and good luck!
chuck@chuck.support
chuck.support/donate - RyanRyan28 years agoQrew Assistant Captainas long as you could break down the code and explain it to me then I'd be fine doing some custom coding.
- ChuckGrigsby8 years agoQrew CadetYes, definitely. Please email me directly and we can setup a screenshare and a call.
chuck@chuck.support