Forum Discussion
Formula queries don't accept that kind of parameter to only bring back one record at this time. Your best best is to get the results you want and then do a Part([Res], 1, ";") to get the first occurrence in the response.
------------------------------
Chayce Duncan
------------------------------
even if I changed the formula on top? A big reason why it fails is the relationship allows multiple records in this case Notes that are tied to the same record.
------------------------------
Colin Burns
------------------------------
- ChayceDuncan7 months agoQrew Captain
The formula on top I imagine is using the Related value in your child record so it's still returning multiple matches I would imagine. The unique field pertains to your parent - not the children. Do you have a direct relationship between these tables? Can you just use a summary field to get the Max Record ID# of your child table and then use the formula query to target that specific record?
------------------------------
Chayce Duncan
------------------------------- ColinBurns7 months agoQrew Member
The Parent record will be a single record, the child records can be multiple. The child records are tied in the relationship via the record id of the parent. As for the max record ID there will be multiple parent records with child record(s), would the max still apply?
------------------------------
Colin Burns
------------------------------- ChayceDuncan7 months agoQrew Captain
If your notes table is the child then yes, the max record ID will be the max Note Record ID of the notes related to that parent, that's the design of the relationship. So do the Max Record ID# of the notes and you have the RID of the most recent Notes entry that you can then point your formula query to.
------------------------------
Chayce Duncan
------------------------------