How to display vendor detail from vendor code in report

it might work but it’s not the right solution