Ive created an Array, i cant see anything wrong with the formula:
WhilePrintingRecords;
DateVar Array PreDel;
NumberVar Counter;
If Counter=2 then
PreDel:={OR_RECEIPT.TRANS_DATE}
but it keeps insisting that "The word ELSE is missing". The only information i want added to the array is if the counter equals 2. Anyone know how i can get around this?
Thanks
WhilePrintingRecords;
DateVar Array PreDel;
NumberVar Counter;
If Counter=2 then
PreDel:={OR_RECEIPT.TRANS_DATE}
but it keeps insisting that "The word ELSE is missing". The only information i want added to the array is if the counter equals 2. Anyone know how i can get around this?
Thanks