Hello,
Using CR2008 and I can't figure out why my records are acting the way they are. I need to show invoice references to a job. Each invoice book has invoice numbers which are their respective references. Each job will then be associated to a reference. Some invoices are voided or lost so any references that are missing will not have a job associated to it.
The reference field is a string field and jobs field is numerical. I'd like to enter a parameter of the invoice reference range (eg. 40000 to 40100) to show me which invoices were assigned to what jobs. If there are any missing ones, then the jobs will be blank.
I created the following formulas:
Report Header:
Whileprintingrecords;
numbervar Counter:={?Ref Start}-1;
Details Section:
Whileprintingrecords;
numbervar Counter:=Counter+1;
Great - I can show the range of the invoice references on my details section. I also added the parameters ?Ref Start and ?Ref End and filtered my records based on the invoice references converted to value in a formula called @value ref.
But as shown below it shows blanks after 40019 because there's no corresponding reference for 40020. I know there are other references after but it's not showing. I'm puzzled as to why this happens.
Am I approaching this problem the correct way? I'd love to hear some advise.
Thank you in advance!
Reid
MyCounter FR Ref
40000 40,000.00
40001 40,001.00
40002 40,002.00
40003 40,003.00
40004 40,004.00
40005 40,005.00
40006 40,006.00
40007 40,007.00
40008 40,008.00
40009 40,009.00
40010 40,010.00
40011 40,011.00
40012 40,012.00
40013 40,013.00
40014 40,014.00
40015 40,015.00
40016 40,016.00
40017 40,017.00
40018 40,018.00
40019 40,019.00
40020 0.00
40021 0.00
40022 0.00
40023 0.00
40024 0.00
40025 0.00
40026 0.00
40027 0.00
Using CR2008 and I can't figure out why my records are acting the way they are. I need to show invoice references to a job. Each invoice book has invoice numbers which are their respective references. Each job will then be associated to a reference. Some invoices are voided or lost so any references that are missing will not have a job associated to it.
The reference field is a string field and jobs field is numerical. I'd like to enter a parameter of the invoice reference range (eg. 40000 to 40100) to show me which invoices were assigned to what jobs. If there are any missing ones, then the jobs will be blank.
I created the following formulas:
Report Header:
Whileprintingrecords;
numbervar Counter:={?Ref Start}-1;
Details Section:
Whileprintingrecords;
numbervar Counter:=Counter+1;
Great - I can show the range of the invoice references on my details section. I also added the parameters ?Ref Start and ?Ref End and filtered my records based on the invoice references converted to value in a formula called @value ref.
But as shown below it shows blanks after 40019 because there's no corresponding reference for 40020. I know there are other references after but it's not showing. I'm puzzled as to why this happens.
Am I approaching this problem the correct way? I'd love to hear some advise.
Thank you in advance!
Reid
MyCounter FR Ref
40000 40,000.00
40001 40,001.00
40002 40,002.00
40003 40,003.00
40004 40,004.00
40005 40,005.00
40006 40,006.00
40007 40,007.00
40008 40,008.00
40009 40,009.00
40010 40,010.00
40011 40,011.00
40012 40,012.00
40013 40,013.00
40014 40,014.00
40015 40,015.00
40016 40,016.00
40017 40,017.00
40018 40,018.00
40019 40,019.00
40020 0.00
40021 0.00
40022 0.00
40023 0.00
40024 0.00
40025 0.00
40026 0.00
40027 0.00