Good day. I am using Crystal Reports 2008. I would appreicate any help that you can give me. I know my way around Crystal, but am certainly no expert. I have created a report for our accounts
payable to use when they do an Electronic Fund Transfer. The report has 3 paramaters:
Vendor ?Vendor Number
Check number ?Cheque number
Date check was printed.?Cheque date
With that information, I am able to display the invoice numbers paid on that check to that vendor, on that date. That report works fine.
However, there is a field that I also need to display that I am having trouble with. The field is called "apchc_comments" and is contained in a table called "ap_cheque_comments". There are 3 other fields in that table labelled "apchc_inv_internal_seq", "apchc_transint_seq", "apchc_clearcomments_log". The only field that appears linkable is the "apchc_comments" as there is a table called ap_cheques, that has a field called "apch_comments". I have linked both fields.
What I want to do is display the "ap_cheque_comments.apchc_comments" if the field is not empty, and have it list the comments below the invoice being paid.
However, if I insert that field into the report, it causes the invoice number field to duplicate itself countless times, and the check total increases as well, since not all invoices have a comment associated with them.
Could I write an IF, THEN, ELSE formula that looks for the Parameters for the check number, and the check date, and display the apchc_comments in the report if the field is not empty, and if it IS empty, just display nothing?
I hope that I was able to make myself understood. I am not a programmer by any means, just a fairly knowledgeable support person in our IT dept.
thanks,
Norm
payable to use when they do an Electronic Fund Transfer. The report has 3 paramaters:
Vendor ?Vendor Number
Check number ?Cheque number
Date check was printed.?Cheque date
With that information, I am able to display the invoice numbers paid on that check to that vendor, on that date. That report works fine.
However, there is a field that I also need to display that I am having trouble with. The field is called "apchc_comments" and is contained in a table called "ap_cheque_comments". There are 3 other fields in that table labelled "apchc_inv_internal_seq", "apchc_transint_seq", "apchc_clearcomments_log". The only field that appears linkable is the "apchc_comments" as there is a table called ap_cheques, that has a field called "apch_comments". I have linked both fields.
What I want to do is display the "ap_cheque_comments.apchc_comments" if the field is not empty, and have it list the comments below the invoice being paid.
However, if I insert that field into the report, it causes the invoice number field to duplicate itself countless times, and the check total increases as well, since not all invoices have a comment associated with them.
Could I write an IF, THEN, ELSE formula that looks for the Parameters for the check number, and the check date, and display the apchc_comments in the report if the field is not empty, and if it IS empty, just display nothing?
I hope that I was able to make myself understood. I am not a programmer by any means, just a fairly knowledgeable support person in our IT dept.
thanks,
Norm