Create a view on the second table, breaking up the pay name into two fields (firstname and lastname), and then on the report link the first table to the view using these fields.
Instead of saying they don't work, you need to explain the error message you get or provide a sample of the incorrect results, so we can see why and adjust accordingly. Are there variations in the field in the Desc table that you haven't shown us?
My formulas work when the output looks like your first sample:
pay-Smith, John
Your results indicate that there is variation in the output of that field. The {@lastname} and {@firstname} results are exactly what you would expect if the field is, in fact:
pay-John Smith
So, you need to provide a sample of results that shows all the possible variations in the output for this field, before we take this any further.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.