Skip to Content
0
Former Member
Jun 29, 2007 at 05:21 PM

Problem with counting first record

9 Views

Post Author: John

CA Forum: Formula

Hey all. I thought I had my original problem fixed, but now, I have a new one.

The report is not counting the first record in the report. Here is the code....

WhilePrintingRecords;numbervar b;If {PRODUCT_INVENTORY.PRODUCT_ID} = "RBC" and {PRODUCT_INVENTORY.UNIT_NO} <> Previous ({PRODUCT_INVENTORY.UNIT_NO})Thenb := b + 1

Everything else is correct, it's just that the first instance (whatever product_id is equal too) is not counting.

Any suggestions?

Thanks

John