>>If I pute _PAGENO*2-1 in the column footer, it appears in both columns. How do I get _PAGENO*2-1 to print in column one but not column two.
>>
>
>Right, let´s see. You could print _PAGENO*2-(IIF(ODDCOLUMN(),1,0)).
>
>Function ODDCOLUMN should be something like this:
>
>*
>* WARNING!! UNTESTED CODE AHEAD!!
>*
>IF TYPE("WHICHCOLUMN")="U"
> PUBLIC WHICHCOLUMN
> WHICHCOLUMN = 0
>ENDIF
>WHICHCOLUMN = WHICHCOLUMN+1
>RETURN (WHICHCOLUMN%2=1)
>
>After the report, you should RELEASE WHICHCOLUMN.
>
>Hope this is better!
Now _PAGENO*2-(IIF(ODDCOLUMN(),1,0)) becomes completely unnecessary, since you've actually invented a column counter, which will work (well, should) for three or four columns, too. It just needs to Return WhichColumn, and the field to print is OddColumn(), which now has a wrong name :)