Hello
I have 2 tables linked by pk and fk. They are jobs and quotes. A job can have a few versions of a quote, the last one being the most up to date.
I can find the latest related record and return that field, but I want to return the cost of that single related record too.
I have tried using If (latest related record=pk of record ; cost; 0) but it doesn't work. Any help appreciated - I am sure it is pretty simple.
Thanks
W