- Add another dataset "PONum" that contains all of the vouchers and PO numbers. This view from Victoria Yudin is perfect. http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/
- Go into your table and create a placeholder wherever you would like your PO numbers to be.
- Under General>Value Click the Fx button to create a function
- Paste this in
=lookup(Fields!VCHRNMBR.Value, Fields!Voucher_Number.Value,Fields!PO_Number.Value,"PONum") - Save, close, Run your report and see if it works.
If you need to know more about the lookup function, try here
No comments:
Post a Comment