Dear Gordon,
Thank you for your reply. How can I modify the query into checking against the parameter?
E.g.
Invoice No: 1001
Invoice Date: 05.04.2014
Payment Date: 10.04.2014
If I entered 01.04.2014 to 30.04.2014, the query retrieves the invoices generated within this period of time and at the same time it checks against with the reconciliation date.
The query result shows the Invoice No 1001 with status as 'Closed' in this instance.
Please advice.
Regards,
Lead